version 1.1, 2004/09/21 12:52:01 |
version 1.2, 2004/09/24 08:35:47 |
|
|
/* $OpenXM$ */ |
/* $OpenXM: OpenXM/src/kan96xx/plugin/oxcgi.h,v 1.1 2004/09/21 12:52:01 takayama Exp $ */ |
|
|
|
/* ----- data conversion : urlEncoding <---> keyValue pair */ |
|
struct object cgiUrlEncodingToKeyValuePair(char *s); |
|
char *cgiKeyValuePairToUrlEncoding(struct object ob); |
|
struct object cgiKeyValuePairToUrlEncodingString(struct object ob); |
|
int cgiKeyValuePairToUrlEncodingFile2(struct object ob,FILE2 *fp); |
|
char *byteArrayToUrlEncoding(unsigned char *s,int size); |
|
struct object urlEncodedStringToObj(char *s,int vstart,int vend,int mode); |
|
|
|
/* ------- HTML header <---> keyValue pair */ |
|
struct object cgiHttpToKeyValuePair(char *s,int size); |
|
char *cgiKeyValuePairToHttp(struct object ob,int *sizep); |
|
struct object cgiKeyValuePairToHttpString(struct object ob); |
|
int cgiKeyValuePairToHttpFile2(struct object ob, FILE2 *fp); |
|
|
|
/* ------- misc ------------------- */ |
|
int checkKeyValuePairFormat(struct object ob,char *msg); |