6 #define max number of passed fields.
7 #define MAX_ENTRIES 400 /* way bigger than needed. */
9 /* define the maximum length of a single config line */
10 #define MAX_LINE_LEN 256
18 char *makeword(char *line,
21 char *fmakeword(FILE *f,
27 void unescape_url(char *url);
29 void plustospace(char *str);
31 int strcompare(char* a,
34 int getvalue(entry* list,
38 int append_to_list(entry* list,
42 void remove_leading_blanks(char* str);
44 void remove_trailing_blanks(char* str);
46 void pad_with_char(char* buffer,
50 char* lower_case_string(char* inputbuf);
52 char* upper_case_string(char* inputbuf);
54 void strip_CR(char* buffer);
56 void show_form_data(entry* entries);
58 void display_html_text(char* filename);
60 long unformat_cost(char* cost);
62 int get_line(FILE* file,
65 void print_header(char* title);
69 void maint_header(char* name);
71 void maint_update_form(entry* list,
76 int draw_form_fields(char* maint_filename,
77 CGIDB_REC* cgidb_rec);
79 void maint_remove_form(entry* list,
82 void maint_add_form(entry* list,
87 char* get_field_data(CGIDB_REC* cgidb_rec,
91 void maint_dump_db(entry* list,
95 void display_dump_entry(CGIDB_REC* cgidb_rec,
102 void maint_upload_photo(char* MFileName);
104 void maint_remove_photo(entry* list,
107 int copy_data_to_db_field(CGIDB_REC* cgidb_rec,
109 char* fieldmaxlength,
114 /* end file 'maint_form.h' */