Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

cfcgi.h

Go to the documentation of this file.
00001 
00018 /* {{{ Initial headers */
00019 /*
00020  * $LastChangedDate: 2004-04-01 18:34:17 +0200 (Thu, 01 Apr 2004) $
00021  * $LastChangedRevision: 50 $
00022  * $LastChangedBy: ckruse $
00023  *
00024  */
00025 /* }}} */
00026 
00027 #ifndef __CF_CGI_H
00028 #define __CF_CGI_H
00029 
00033 typedef struct s_cf_cgi_param {
00034   u_char *name; 
00035   u_char *value; 
00036   struct s_cf_cgi_param *next; 
00037   struct s_cf_cgi_param *last; 
00038 } t_cf_cgi_param;
00039 
00045 t_cf_hash *cf_cgi_new();
00046 
00051 void cf_cgi_parse_path_info(t_array *ary);
00052 
00062 u_char *cf_cgi_url_encode(const u_char *str,size_t len);
00063 
00071 u_char *cf_cgi_url_decode(const u_char *str,size_t len);
00072 
00077 u_char *cf_cgi_get(t_cf_hash *cgi,u_char *name);
00078 
00085 void cf_cgi_set(t_cf_hash *hash,const u_char *name,const u_char *value);
00086 
00094 t_cf_cgi_param *cf_cgi_get_multiple(t_cf_hash *hash,u_char *param);
00095 
00100 void cf_cgi_destroy(t_cf_hash *hash);
00101 
00107 u_int32_t path_info_parsed(u_char ***infos);
00108 
00109 #endif
00110 
00111 /* eof */

Generated on Sun Apr 25 16:37:36 2004 for Classic Forum by doxygen 1.3.5