#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <iostream.h>
#define MAXLINE 2000
#define COMMLINE 2000
//// class to process input stream from html forms
// _Form
#ifndef FORM_H
#define FORM_H
class _Form
{private: /* cleanup routines */
            char* clear_space(char* msg);
            char* clear_amp(char* msg);
            char* clear_plus(char* msg);
            char* clear_control(char* msg);
            int ahextoi(char* msg);
            char input_msg[COMMLINE];
            char out_msg[COMMLINE];

public: _Form() {;};
            char* clear_all(char* msg);
            char* get_variable(char* msg, char* start);
            int check_msg(char* variable_value, char* expect_value);
            inline char* out_to_in(char* output_message)
            {
                        strcpy(input_msg, output_message);
                        return(input_msg);
            };
};
#endif