]> git.sur5r.net Git - openldap/blob - contrib/web_ldap/process_form.h
Exit loop after matching command is found in openldap_ldap_init_w_conf
[openldap] / contrib / web_ldap / process_form.h
1 /* process_form.h */
2
3 #ifndef __PROCESS_FORM_H
4 #define __PROCESS_FORM_H
5
6 #define MAX_ENTRIES 10000
7
8 typedef struct {
9     char *name;
10     char *val;
11 } entry;
12
13 char  *makeword(char *line, char stop);
14 char  *fmakeword(FILE *f, char stop, int *len);
15 char  x2c(char *what);
16 void  unescape_url(char *url);
17 void  plustospace(char *str);
18
19 int   strcompare(char* a, char* b);
20 int   getvalue(entry* list, char* key, char** value);
21 void  remove_leading_blanks(char* str);
22 void  remove_trailing_blanks(char* str);
23 void  pad_with_char(char* buffer, int length, char padchar);
24 char* lower_case_string(char* inputbuf);
25 char* upper_case_string(char* inputbuf);
26 void  strip_CR(char* buffer);
27 void  show_form_data(entry* entries);
28 void  display_html_text(char* filename);
29 long unformat_cost(char* cost);
30 #endif
31
32 /* end file 'process_form.h' */