X-Git-Url: https://code.citadel.org/?p=citadel.git;a=blobdiff_plain;f=webcit%2Fwebcit.h;h=1efdeec091589fb36e8cb1f3a598f78508486306;hp=55490f89a752549c3adb10ae4dff58d5dcb35c02;hb=27e6a22f021cffe2cee1a41accbf9d2f78b20dab;hpb=9e2dd6c9c9ba337755ba58f0bbbce271ef14545b diff --git a/webcit/webcit.h b/webcit/webcit.h index 55490f89a..1efdeec09 100644 --- a/webcit/webcit.h +++ b/webcit/webcit.h @@ -364,6 +364,7 @@ struct wcsession { StrBuf *this_page; /**< URL of current page */ HashList *urlstrings; /**< variables passed to webcit in a URL */ HashList *vars; /**< HTTP variable substitutions for this page */ + HashList *headers; /**< the headers the client sent us */ StrBuf *http_host; /**< HTTP Host: header */ int is_ajax; /** < are we doing an ajax request? */ int gzip_ok; /**< Nonzero if Accept-encoding: gzip */ @@ -510,10 +511,6 @@ extern int setup_wizard; extern char wizard_filename[]; extern time_t if_modified_since; extern int follow_xff; -extern HashList *HandlerHash; -extern HashList *PreferenceHooks; -extern HashList *ZoneHash; -extern HashList *SortHash; void InitialiseSemaphores(void); void begin_critical_section(int which_one); @@ -621,8 +618,7 @@ void shutdown_sessions(void); void do_housekeeping(void); void smart_goto(const StrBuf *); void worker_entry(void); -void session_loop(HashList *HTTPHeaders, - StrBuf *ReqLine, +void session_loop(StrBuf *ReqLine, StrBuf *ReqType, StrBuf *ReadBuf, const char **Pos);