Filename: sflhttp.h
Package: Standard Function Library (SFL)
Written: 96/05/31 iMatix SFL project team sfl@imatix.com
Revised: 98/01/15
Copyright: Copyright (c) 1991-98 iMatix
Synopsis
Provides various functions that support HTTP and CGI
programming, including escaping/unescaping, and CGI data
manipulation.
List of Functions
- char * http escape
(const char *string, char *result);
- size_t http escape size
(const char *string);
- char * http unescape
(char *string, char *result);
- char * http query2strt
(const char *query);
- SYMTAB * http query2symb
(const char *query);
- DESCR * http query2descr
(const char *query);
- size_t http encode meta
(char *output, const char *input, size_t outmax);
- int cgi parse query vars
(SYMTAB *symtab, const char *query, const char *prefix);
- int cgi parse file vars
(SYMTAB *symtab, FILE *file, const char *prefix, size_t size);
- DESCR * http multipart decode
(const char *mime_file, const char *store_path);
- Bool is full url
(const char *string);
- char * cgi get input
(int iMethod);
- char * cgi fld by name
(char *strFld, char *strIn, char *strRetBuf);
- char * cgi fld by index
(int iPos, char *strIn, char *strRetBuf, char *strFldName);
- int cgi fld len by index
(int iPos, char *strIn, int *iDataLen, int *iNameLen);
- int displayform
(char *strformfile, char *strvalues);
List of Symbol Definitions
sflhttp.h defines these symbols, possibly conditionally:
Symbol: |
Defined as: |
---|
CGIETHER
| 2
|
CGIGET
| 0
|
CGIPOST
| 1
|
_SFLHTTP_INCLUDED
| TRUE
|
cgi_free_input(strBuf)
| free((strBuf))
|
| << | <
| > | >>
|
Copyright © 1996-98 iMatix |