X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=lib%2Fconf-internal.h;h=377a9cb235a1ab63e8815a787610a43892fa1f9c;hb=55c249f666faddb7d4e999d8a8e3ab66bccfae96;hp=3760d0e5be2265b52efe4a4059b0a7dd3eee2468;hpb=5d4c3f3f01730c49b82f9212749ce28f6f808658;p=libucw.git diff --git a/lib/conf-internal.h b/lib/conf-internal.h index 3760d0e5..377a9cb2 100644 --- a/lib/conf-internal.h +++ b/lib/conf-internal.h @@ -17,10 +17,11 @@ #define OP_1ST 0x200 // in the 1st phase selectors are recorded into the mask #define OP_2ND 0x400 // in the 2nd phase real data are entered enum cf_operation; -extern byte *cf_op_names[]; +extern char *cf_op_names[]; +extern char *cf_type_names[]; uns cf_type_size(enum cf_type type, struct cf_user_type *utype); -byte *cf_interpret_line(byte *name, enum cf_operation op, int number, byte **pars); +char *cf_interpret_line(char *name, enum cf_operation op, int number, char **pars); void cf_init_stack(void); int cf_check_stack(void); @@ -36,7 +37,7 @@ void cf_journal_delete(void); enum cf_commit_mode { CF_NO_COMMIT, CF_COMMIT, CF_COMMIT_ALL }; extern struct cf_section cf_sections; -struct cf_item *cf_find_subitem(struct cf_section *sec, byte *name); +struct cf_item *cf_find_subitem(struct cf_section *sec, const char *name); int cf_commit_all(enum cf_commit_mode cm); void cf_add_dirty(struct cf_section *sec, void *ptr);