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