main() { formfield *fields; formfield *submittype; int fieldcount; char *lenstr; printf("Content-type: text/html\n"); printf("\n"); initHTMLencodingtable(); lenstr=getenv("CONTENT_LENGTH"); if((lenstr==NULL) || (atoi(lenstr)>MAX_MESSAGE_LENGTH)) { printmessagefromtemplate(MSG_TOOLONG_TEMPLATE); return; } extractCGIinput(&fields,20,&fieldcount); processrequest(fields,fieldcount); clearfields(fields,fieldcount); free(fields); }
void CNTFSDirectory::clear() { clearfields(); }
CNTFSDirectory::~CNTFSDirectory() { clearfields(); }