Lines Matching refs:cfc
126 static void cpl_init_FileConf(CplFileConf *cfc);
821 * cfc CplFileConf * The configuration object of the
824 static void cpl_init_FileConf(CplFileConf *cfc)
826 if(cfc) {
827 cfc->id = CFC_ID_CODE;
828 cfc->escaped = 1;
829 cfc->file_start = -1;
830 cfc->chk_fn = 0;
831 cfc->chk_data = NULL;
848 CplFileConf *cfc; /* The object to be returned */
852 cfc = (CplFileConf *)malloc(sizeof(CplFileConf));
853 if(!cfc)
860 cpl_init_FileConf(cfc);
861 return cfc;
869 * cfc CplFileConf * The object to be deleted.
873 CplFileConf *del_CplFileConf(CplFileConf *cfc)
876 if(cfc) {
880 free(cfc);
893 * cfc CplFileConf * The cpl_file_completions() configuration object
899 void cfc_literal_escapes(CplFileConf *cfc, int literal)
902 if(cfc)
903 cfc->escaped = !literal;
915 * cfc CplFileConf * The cpl_file_completions() configuration object
920 void cfc_file_start(CplFileConf *cfc, int start_index)
923 if(cfc)
924 cfc->file_start = start_index;
935 * cfc CplFileConf * The cpl_file_completions() configuration object
943 void cfc_set_check_fn(CplFileConf *cfc, CplCheckFn *chk_fn, void *chk_data)
946 if(cfc) {
947 cfc->chk_fn = chk_fn;
948 cfc->chk_data = chk_data;