Ignore:
Timestamp:
1999-02-04T23:00:57+13:00 (25 years ago)
Author:
rjmcnab
Message:

Developed the idea of an "action" and having them define the cgi arguments
which they need and how those cgi arguments function.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/recpt/receptionist.h

    r145 r146  
    4747  void set_gwcgi (const text_t &thegwcgi);
    4848
    49   // init should be called after setgsdhome has been called.
     49  // digest should be called after setgsdhome has been called.
    5050  // It returns true on success and false on failure. If false is
    5151  // returned getpage should not be called (without producing
    5252  // meaningless output), instead an error page should be
    5353  // produced by the calling code.
    54   bool init (ostream &logout);
     54  bool digest (ostream &logout);
    5555 
    5656  // There are two ways to produce a page. You can either call parse_cgi_args,
     
    7373  // response_t is used to inform the calling code what type of
    7474  // cgi header it should produce
     75  // eventually this should reside in cgiutils.h
    7576  enum response_t {location, content};
    7677
     
    8081  // contains content then reponse_data contains the content-type.
    8182  // Note that images can now be produced by the receptionist.
    82   void get_cgihead_info (const cgiargsclass &args, response_t &response,
     83  void get_cgihead_info (cgiargsclass &args, response_t &response,
    8384             text_t &response_data, ostream &logout);
    8485
    8586  // produce the page content
    86   void produce_content (const cgiargsclass &args, ostream &contentout,
     87  void produce_content (cgiargsclass &args, ostream &contentout,
    8788            ostream &logout);
    8889
Note: See TracChangeset for help on using the changeset viewer.