![]() ![]() | ![]() |
File: [local] / OpenXM / src / kan96xx / plugin / oxcgi.h (download)
Revision 1.4, Sun Feb 27 05:28:06 2005 UTC (19 years, 5 months ago) by takayama
toTokenBySpace (written in the sm1 language) is now written in C. |
/* $OpenXM: OpenXM/src/kan96xx/plugin/oxcgi.h,v 1.4 2005/02/27 05:28:06 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); struct object KooStringToUrlEncoding(struct object sob); struct object KooUrlEncodedStringToObj(struct object sob); /* ------- 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); struct object KooToTokens(struct object ob,struct object sep);