Example #1
0
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);
}
Example #2
0
void CNTFSDirectory::clear()
{
	clearfields();
}
Example #3
0
CNTFSDirectory::~CNTFSDirectory()
{
	clearfields();
}