File: [local] / OpenXM / src / kan96xx / plugin / oxcgi.h (download)
Revision 1.3, Mon Sep 27 01:20:46 2004 UTC (19 years, 8 months ago) by takayama
Branch: MAIN
CVS Tags: RELEASE_1_2_3 Changes since 1.2: +4 -1
lines
cgiPolymake (cgi-poymake.sh) is a CGI version of polymake partially complient
to OoHG (ox104).
doPolymake.OoHG is a client program to call CGI/polymake by OoHG.
|
/* $OpenXM: OpenXM/src/kan96xx/plugin/oxcgi.h,v 1.3 2004/09/27 01:20:46 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);