Changeset 146 for trunk/gsdl/src/recpt/receptionist.h
- Timestamp:
- 1999-02-04T23:00:57+13:00 (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/recpt/receptionist.h
r145 r146 47 47 void set_gwcgi (const text_t &thegwcgi); 48 48 49 // init should be called after setgsdhome has been called.49 // digest should be called after setgsdhome has been called. 50 50 // It returns true on success and false on failure. If false is 51 51 // returned getpage should not be called (without producing 52 52 // meaningless output), instead an error page should be 53 53 // produced by the calling code. 54 bool init (ostream &logout);54 bool digest (ostream &logout); 55 55 56 56 // There are two ways to produce a page. You can either call parse_cgi_args, … … 73 73 // response_t is used to inform the calling code what type of 74 74 // cgi header it should produce 75 // eventually this should reside in cgiutils.h 75 76 enum response_t {location, content}; 76 77 … … 80 81 // contains content then reponse_data contains the content-type. 81 82 // Note that images can now be produced by the receptionist. 82 void get_cgihead_info (c onst cgiargsclass &args, response_t &response,83 void get_cgihead_info (cgiargsclass &args, response_t &response, 83 84 text_t &response_data, ostream &logout); 84 85 85 86 // produce the page content 86 void produce_content (c onst cgiargsclass &args, ostream &contentout,87 void produce_content (cgiargsclass &args, ostream &contentout, 87 88 ostream &logout); 88 89
Note:
See TracChangeset
for help on using the changeset viewer.