Back to index

webcit  8.12-dfsg
Functions | Variables
modules_init.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void initialise_modules (void)
void initialise2_modules (void)
void start_modules (void)
void shutdown_modules (void)
void session_new_modules (wcsession *sess)
void session_attach_modules (wcsession *sess)
void session_detach_modules (wcsession *sess)
void session_destroy_modules (wcsession **sess)
void http_new_modules (ParsedHttpHdrs *httpreq)
void http_detach_modules (ParsedHttpHdrs *httpreq)
void http_destroy_modules (ParsedHttpHdrs *httpreq)
void ServerStartModule_CONTEXT (void)
void ServerStartModule_DAV (void)
void ServerStartModule_ICONBAR (void)
void ServerStartModule_MSGRENDERERS (void)
void ServerStartModule_PREFERENCES (void)
void ServerStartModule_SERV_FUNC (void)
void ServerStartModule_SITECONFIG (void)
void ServerStartModule_SMTP_QUEUE (void)
void ServerStartModule_STATIC (void)
void ServerStartModule_SUBST (void)
void ServerStartModule_VCARD (void)
void ServerStartModule_WEBCIT (void)
void InitModule_ADDRBOOK_POPUP (void)
void InitModule_AUTH (void)
void InitModule_AUTO_COMPLETE (void)
void InitModule_BBSVIEWRENDERERS (void)
void InitModule_BLOGVIEWRENDERERS (void)
void InitModule_CALENDAR (void)
void InitModule_CALENDAR_VIEW (void)
void InitModule_CONTEXT (void)
void InitModule_DATE (void)
void InitModule_DATETIME (void)
void InitModule_DOWNLOAD (void)
void InitModule_GETTEXT (void)
void InitModule_GRAPHICS (void)
void InitModule_GROUPDAV (void)
void InitModule_ICAL_SUBST (void)
void InitModule_ICONBAR (void)
void InitModule_INETCONF (void)
void InitModule_LISTSUB (void)
void InitModule_MAINMENU (void)
void InitModule_MARCHLIST (void)
void InitModule_MSG (void)
void InitModule_MSGRENDERERS (void)
void InitModule_NETCONF (void)
void InitModule_NOTES (void)
void InitModule_OPENID (void)
void InitModule_PAGING (void)
void InitModule_PARAMHANDLING (void)
void InitModule_PREFERENCES (void)
void InitModule_PROPFIND (void)
void InitModule_PUSHMAIL (void)
void InitModule_REPORT (void)
void InitModule_ROOMCHAT (void)
void InitModule_ROOMLIST (void)
void InitModule_ROOMOPS (void)
void InitModule_ROOMTOKENS (void)
void InitModule_ROOMVIEWS (void)
void InitModule_RSS (void)
void InitModule_SERVFUNC (void)
void InitModule_SETUP_WIZARD (void)
void InitModule_SIEVE (void)
void InitModule_SITECONFIG (void)
void InitModule_SITEMAP (void)
void InitModule_SMTP_QUEUE (void)
void InitModule_STATIC (void)
void InitModule_SUBST (void)
void InitModule_SUMMARY (void)
void InitModule_SYSMSG (void)
void InitModule_TASKS (void)
void InitModule_USEREDIT (void)
void InitModule_VCARD (void)
void InitModule_WEBCIT (void)
void InitModule_WHO (void)
void InitModule_WIKI (void)
void InitModule2_MSGRENDERERS (void)
void ServerShutdownModule_CONTEXT (void)
void ServerShutdownModule_DAV (void)
void ServerShutdownModule_GETTEXT (void)
void ServerShutdownModule_ICAL (void)
void ServerShutdownModule_ICONBAR (void)
void ServerShutdownModule_MSGRENDERERS (void)
void ServerShutdownModule_PREFERENCES (void)
void ServerShutdownModule_SERV_FUNC (void)
void ServerShutdownModule_SITECONFIG (void)
void ServerShutdownModule_SMTP_QUEUE (void)
void ServerShutdownModule_STATIC (void)
void ServerShutdownModule_SUBST (void)
void ServerShutdownModule_VCARD (void)
void ServerShutdownModule_WEBCIT (void)
void SessionNewModule_GETTEXT (wcsession *sess)
void SessionNewModule_PREFERENCES (wcsession *sess)
void SessionNewModule_SUBST (wcsession *sess)
void SessionNewModule_TCPSOCKETS (wcsession *sess)
void SessionNewModule_WEBCIT (wcsession *sess)
void SessionAttachModule_GETTEXT (wcsession *sess)
void SessionAttachModule_PARAMHANDLING (wcsession *sess)
void SessionAttachModule_SUBST (wcsession *sess)
void SessionDetachModule_MSG (wcsession *sess)
void SessionDetachModule_PARAMHANDLING (wcsession *sess)
void SessionDetachModule__PREFERENCES (wcsession *sess)
void SessionDetachModule_SIEVE (wcsession *sess)
void SessionDetachModule_SUBST (wcsession *sess)
void SessionDetachModule_WEBCIT (wcsession *sess)
void SessionDestroyModule_AUTH (wcsession *sess)
void SessionDestroyModule_GETTEXT (wcsession *sess)
void SessionDestroyModule_ICONBAR (wcsession *sess)
void SessionDestroyModule_MSGRENDERERS (wcsession *sess)
void SessionDestroyModule_PAGING (wcsession *sess)
void SessionDestroyModule_PREFERENCES (wcsession *sess)
void SessionDestroyModule_ROOMCHAT (wcsession *sess)
void SessionDestroyModule_ROOMOPS (wcsession *sess)
void SessionDestroyModule_SERVFUNC (wcsession *sess)
void SessionDestroyModule_SITECONFIG (wcsession *sess)
void SessionDestroyModule_SUBST (wcsession *sess)
void SessionDestroyModule_TCPSOCKETS (wcsession *sess)
void SessionDestroyModule_WEBCIT (wcsession *sess)
void HttpNewModule_AUTH (ParsedHttpHdrs *httpreq)
void HttpNewModule_CONTEXT (ParsedHttpHdrs *httpreq)
void HttpNewModule_TCPSOCKETS (ParsedHttpHdrs *httpreq)
void HttpDetachModule_AUTH (ParsedHttpHdrs *httpreq)
void HttpDetachModule_CONTEXT (ParsedHttpHdrs *httpreq)
void HttpDetachModule_TCPSOCKETS (ParsedHttpHdrs *httpreq)
void HttpDestroyModule_AUTH (ParsedHttpHdrs *httpreq)
void HttpDestroyModule_CONTEXT (ParsedHttpHdrs *httpreq)
void HttpDestroyModule_TCPSOCKETS (ParsedHttpHdrs *httpreq)

Variables

size_t nSizErrmsg

Function Documentation

void http_destroy_modules ( ParsedHttpHdrs httpreq)

Definition at line 533 of file modules_init.c.

{
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Destructing AUTH\n");
#endif
       HttpDestroyModule_AUTH(httpreq);
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Destructing CONTEXT\n");
#endif
       HttpDestroyModule_CONTEXT(httpreq);
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Destructing TCPSOCKETS\n");
#endif
       HttpDestroyModule_TCPSOCKETS(httpreq);
}

Here is the call graph for this function:

Here is the caller graph for this function:

void http_detach_modules ( ParsedHttpHdrs httpreq)

Definition at line 517 of file modules_init.c.

{
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Detaching AUTH\n");
#endif
       HttpDetachModule_AUTH(httpreq);
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Detaching CONTEXT\n");
#endif
       HttpDetachModule_CONTEXT(httpreq);
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Detaching TCPSOCKETS\n");
#endif
       HttpDetachModule_TCPSOCKETS(httpreq);
}

Here is the call graph for this function:

Here is the caller graph for this function:

void http_new_modules ( ParsedHttpHdrs httpreq)

Definition at line 501 of file modules_init.c.

{
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "NEW AUTH\n");
#endif
       HttpNewModule_AUTH(httpreq);
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "NEW CONTEXT\n");
#endif
       HttpNewModule_CONTEXT(httpreq);
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "NEW TCPSOCKETS\n");
#endif
       HttpNewModule_TCPSOCKETS(httpreq);
}

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 918 of file auth.c.

{
       FreeStrBuf(&httpreq->c_username);
       FreeStrBuf(&httpreq->c_password);
       FreeStrBuf(&httpreq->c_roomname);
       FreeStrBuf(&httpreq->c_language);
}

Here is the caller graph for this function:

Definition at line 841 of file context_loop.c.

{
       FreeStrBuf(&httpreq->this_page);
       FreeStrBuf(&httpreq->PlainArgs);
       FreeStrBuf(&httpreq->this_page);
       FreeStrBuf(&httpreq->PlainArgs);
       FreeStrBuf(&httpreq->HostHeader);
       DeleteHash(&httpreq->HTTPHeaders);

}

Here is the caller graph for this function:

Definition at line 891 of file tcp_sockets.c.

{

       FreeStrBuf(&httpreq->ReadBuf);
}

Here is the caller graph for this function:

Definition at line 907 of file auth.c.

{
       FLUSHStrBuf(httpreq->c_username);
       FLUSHStrBuf(httpreq->c_password);
       FLUSHStrBuf(httpreq->c_roomname);
       FLUSHStrBuf(httpreq->c_language);
}

Here is the caller graph for this function:

Definition at line 829 of file context_loop.c.

{
       FlushStrBuf(httpreq->PlainArgs);
       FlushStrBuf(httpreq->HostHeader);
       FlushStrBuf(httpreq->this_page);
       FlushStrBuf(httpreq->PlainArgs);
       DeleteHash(&httpreq->HTTPHeaders);
       memset(&httpreq->HR, 0, sizeof(HdrRefs));
}

Here is the caller graph for this function:

Definition at line 882 of file tcp_sockets.c.

{

       FlushStrBuf(httpreq->ReadBuf);
       ReAdjustEmptyBuf(httpreq->ReadBuf, 4 * SIZ, SIZ);
}

Here is the caller graph for this function:

void HttpNewModule_AUTH ( ParsedHttpHdrs httpreq)

Definition at line 896 of file auth.c.

{
       httpreq->c_username = NewStrBufPlain(HKEY(DEFAULT_HTTPAUTH_USER));
       httpreq->c_password = NewStrBufPlain(HKEY(DEFAULT_HTTPAUTH_PASS));
       httpreq->c_roomname = NewStrBuf();
       httpreq->c_language = NewStrBuf();
}

Here is the caller graph for this function:

Definition at line 821 of file context_loop.c.

{
       httpreq->PlainArgs = NewStrBufPlain(NULL, SIZ);
       httpreq->this_page = NewStrBufPlain(NULL, SIZ);
}

Here is the caller graph for this function:

Definition at line 874 of file tcp_sockets.c.

{

       httpreq->ReadBuf = NewStrBufPlain(NULL, SIZ * 4);
}

Here is the caller graph for this function:

void initialise2_modules ( void  )

Definition at line 294 of file modules_init.c.

{

#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Initializing MSGRENDERERS\n");
#endif
       InitModule2_MSGRENDERERS();
}

Here is the call graph for this function:

Here is the caller graph for this function:

void initialise_modules ( void  )

Definition at line 76 of file modules_init.c.

{

#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Initializing ADDRBOOK_POPUP\n");
#endif
       InitModule_ADDRBOOK_POPUP();
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Initializing AUTH\n");
#endif
       InitModule_AUTH();
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Initializing AUTO_COMPLETE\n");
#endif
       InitModule_AUTO_COMPLETE();
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Initializing BBSVIEWRENDERERS\n");
#endif
       InitModule_BBSVIEWRENDERERS();
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Initializing BLOGVIEWRENDERERS\n");
#endif
       InitModule_BLOGVIEWRENDERERS();
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Initializing CALENDAR\n");
#endif
       InitModule_CALENDAR();
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Initializing CALENDAR_VIEW\n");
#endif
       InitModule_CALENDAR_VIEW();
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Initializing CONTEXT\n");
#endif
       InitModule_CONTEXT();
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Initializing DATE\n");
#endif
       InitModule_DATE();
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Initializing DATETIME\n");
#endif
       InitModule_DATETIME();
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Initializing DOWNLOAD\n");
#endif
       InitModule_DOWNLOAD();
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Initializing GETTEXT\n");
#endif
       InitModule_GETTEXT();
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Initializing GRAPHICS\n");
#endif
       InitModule_GRAPHICS();
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Initializing GROUPDAV\n");
#endif
       InitModule_GROUPDAV();
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Initializing ICAL_SUBST\n");
#endif
       InitModule_ICAL_SUBST();
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Initializing ICONBAR\n");
#endif
       InitModule_ICONBAR();
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Initializing INETCONF\n");
#endif
       InitModule_INETCONF();
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Initializing LISTSUB\n");
#endif
       InitModule_LISTSUB();
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Initializing MAINMENU\n");
#endif
       InitModule_MAINMENU();
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Initializing MARCHLIST\n");
#endif
       InitModule_MARCHLIST();
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Initializing MSG\n");
#endif
       InitModule_MSG();
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Initializing MSGRENDERERS\n");
#endif
       InitModule_MSGRENDERERS();
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Initializing NETCONF\n");
#endif
       InitModule_NETCONF();
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Initializing NOTES\n");
#endif
       InitModule_NOTES();
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Initializing OPENID\n");
#endif
       InitModule_OPENID();
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Initializing PAGING\n");
#endif
       InitModule_PAGING();
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Initializing PARAMHANDLING\n");
#endif
       InitModule_PARAMHANDLING();
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Initializing PREFERENCES\n");
#endif
       InitModule_PREFERENCES();
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Initializing PROPFIND\n");
#endif
       InitModule_PROPFIND();
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Initializing PUSHMAIL\n");
#endif
       InitModule_PUSHMAIL();
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Initializing REPORT\n");
#endif
       InitModule_REPORT();
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Initializing ROOMCHAT\n");
#endif
       InitModule_ROOMCHAT();
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Initializing ROOMLIST\n");
#endif
       InitModule_ROOMLIST();
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Initializing ROOMOPS\n");
#endif
       InitModule_ROOMOPS();
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Initializing ROOMTOKENS\n");
#endif
       InitModule_ROOMTOKENS();
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Initializing ROOMVIEWS\n");
#endif
       InitModule_ROOMVIEWS();
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Initializing RSS\n");
#endif
       InitModule_RSS();
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Initializing SERVFUNC\n");
#endif
       InitModule_SERVFUNC();
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Initializing SETUP_WIZARD\n");
#endif
       InitModule_SETUP_WIZARD();
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Initializing SIEVE\n");
#endif
       InitModule_SIEVE();
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Initializing SITECONFIG\n");
#endif
       InitModule_SITECONFIG();
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Initializing SITEMAP\n");
#endif
       InitModule_SITEMAP();
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Initializing SMTP_QUEUE\n");
#endif
       InitModule_SMTP_QUEUE();
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Initializing STATIC\n");
#endif
       InitModule_STATIC();
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Initializing SUBST\n");
#endif
       InitModule_SUBST();
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Initializing SUMMARY\n");
#endif
       InitModule_SUMMARY();
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Initializing SYSMSG\n");
#endif
       InitModule_SYSMSG();
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Initializing TASKS\n");
#endif
       InitModule_TASKS();
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Initializing USEREDIT\n");
#endif
       InitModule_USEREDIT();
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Initializing VCARD\n");
#endif
       InitModule_VCARD();
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Initializing WEBCIT\n");
#endif
       InitModule_WEBCIT();
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Initializing WHO\n");
#endif
       InitModule_WHO();
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Initializing WIKI\n");
#endif
       InitModule_WIKI();
}

Here is the caller graph for this function:

void InitModule2_MSGRENDERERS ( void  )

Definition at line 1609 of file msg_renderers.c.

{
       /* and finalize the anouncement to the server... */
       CreateMimeStr();
}

Here is the call graph for this function:

Here is the caller graph for this function:

void InitModule_ADDRBOOK_POPUP ( void  )

Definition at line 213 of file addressbook_popup.c.

{
       WebcitAddUrlHandler(HKEY("display_address_book_middle_div"), "", 0, display_address_book_middle_div, 0);
       WebcitAddUrlHandler(HKEY("display_address_book_inner_div"), "", 0, display_address_book_inner_div, 0);
}

Here is the call graph for this function:

Here is the caller graph for this function:

void InitModule_AUTH ( void  )

Definition at line 929 of file auth.c.

{
       initialize_axdefs();
       RegisterHeaderHandler(HKEY("COOKIE"), Header_HandleCookie);
       RegisterHeaderHandler(HKEY("AUTHORIZATION"), Header_HandleAuth);

       /* no url pattern at all? Show login. */
       WebcitAddUrlHandler(HKEY(""), "", 0, do_welcome, ANONYMOUS|COOKIEUNNEEDED);

       WebcitAddUrlHandler(HKEY("do_welcome"), "", 0, do_welcome, ANONYMOUS|COOKIEUNNEEDED);
       WebcitAddUrlHandler(HKEY("openid_login"), "", 0, do_openid_login, ANONYMOUS);
       WebcitAddUrlHandler(HKEY("finalize_openid_login"), "", 0, finalize_openid_login, ANONYMOUS);
       WebcitAddUrlHandler(HKEY("openid_manual_create"), "", 0, openid_manual_create, ANONYMOUS);
       WebcitAddUrlHandler(HKEY("validate"), "", 0, validate, 0);
       WebcitAddUrlHandler(HKEY("do_welcome"), "", 0, do_welcome, 0);
       WebcitAddUrlHandler(HKEY("display_reg"), "", 0, _display_reg, 0);
       WebcitAddUrlHandler(HKEY("changepw"), "", 0, changepw, 0);
       WebcitAddUrlHandler(HKEY("termquit"), "", 0, do_logout, 0);
       WebcitAddUrlHandler(HKEY("do_logout"), "", 0, do_logout, ANONYMOUS|COOKIEUNNEEDED|FORCE_SESSIONCLOSE);
       WebcitAddUrlHandler(HKEY("monitor"), "", 0, monitor, ANONYMOUS|COOKIEUNNEEDED|FORCE_SESSIONCLOSE);
       WebcitAddUrlHandler(HKEY("ajax_login_username_password"), "", 0, ajax_login_username_password, AJAX|ANONYMOUS);
       WebcitAddUrlHandler(HKEY("ajax_login_newuser"), "", 0, ajax_login_newuser, AJAX|ANONYMOUS);
       WebcitAddUrlHandler(HKEY("switch_language"), "", 0, switch_language, ANONYMOUS);
       RegisterConditional(HKEY("COND:AIDE"), 2, ConditionalAide, CTX_NONE);
       RegisterConditional(HKEY("COND:LOGGEDIN"), 2, ConditionalIsLoggedIn, CTX_NONE);
       RegisterConditional(HKEY("COND:MAY_CREATE_ROOM"), 2,  ConditionalHaveAccessCreateRoom, CTX_NONE);
       return;
}

Here is the call graph for this function:

Here is the caller graph for this function:

void InitModule_AUTO_COMPLETE ( void  )

Definition at line 63 of file autocompletion.c.

{
       WebcitAddUrlHandler(HKEY("recp_autocomplete"), "", 0, _recp_autocomplete, 0);
       WebcitAddUrlHandler(HKEY("cc_autocomplete"),   "", 0, _cc_autocomplete, 0);
       WebcitAddUrlHandler(HKEY("bcc_autocomplete"),  "", 0, _bcc_autocomplete, 0);
}

Here is the call graph for this function:

Here is the caller graph for this function:

void InitModule_BBSVIEWRENDERERS ( void  )

Definition at line 410 of file bbsview_renderer.c.

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 338 of file blogview_renderer.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void InitModule_CALENDAR ( void  )

Definition at line 908 of file calendar.c.

{
       RegisterReadLoopHandlerset(
              VIEW_CALENDAR,
              calendar_GetParamsGetServerCall,
              NULL,
              NULL,
              NULL,
              calendar_LoadMsgFromServer,
              calendar_RenderView_or_Tail,
              calendar_Cleanup);

       RegisterReadLoopHandlerset(
              VIEW_CALBRIEF,
              calendar_GetParamsGetServerCall,
              NULL,
              NULL,
              NULL,
              calendar_LoadMsgFromServer,
              calendar_RenderView_or_Tail,
              calendar_Cleanup);



       RegisterPreference("daystart", _("Calendar day view begins at:"), PRF_INT, NULL);
       RegisterPreference("dayend", _("Calendar day view ends at:"), PRF_INT, NULL);
       RegisterPreference("weekstart", _("Week starts on:"), PRF_INT, NULL);

       WebcitAddUrlHandler(HKEY("freebusy"), "", 0, do_freebusy, COOKIEUNNEEDED|ANONYMOUS|FORCE_SESSIONCLOSE);
       WebcitAddUrlHandler(HKEY("display_edit_task"), "", 0, display_edit_task, 0);
       WebcitAddUrlHandler(HKEY("display_edit_event"), "", 0, display_edit_event, 0);
       WebcitAddUrlHandler(HKEY("save_event"), "", 0, save_event, 0);
       WebcitAddUrlHandler(HKEY("respond_to_request"), "", 0, respond_to_request, 0);
       WebcitAddUrlHandler(HKEY("handle_rsvp"), "", 0, handle_rsvp, 0);
}

Here is the call graph for this function:

Here is the caller graph for this function:

void InitModule_CALENDAR_VIEW ( void  )

Definition at line 1539 of file calendar_view.c.

{
       WebcitAddUrlHandler(HKEY("mini_calendar"), "", 0, ajax_mini_calendar, AJAX);
}

Here is the call graph for this function:

Here is the caller graph for this function:

void InitModule_CONTEXT ( void  )

Definition at line 791 of file context_loop.c.

{
       RegisterHeaderHandler(HKEY("CONTENT-LENGTH"), Header_HandleContentLength);
       RegisterHeaderHandler(HKEY("CONTENT-TYPE"), Header_HandleContentType);
       RegisterHeaderHandler(HKEY("X-FORWARDED-HOST"), Header_HandleXFFHost); /* Apache way... */
       RegisterHeaderHandler(HKEY("X-REAL-IP"), Header_HandleXFFHost);        /* NGinX way... */
       RegisterHeaderHandler(HKEY("HOST"), Header_HandleHost);
       RegisterHeaderHandler(HKEY("X-FORWARDED-FOR"), Header_HandleXFF);
       RegisterHeaderHandler(HKEY("ACCEPT-ENCODING"), Header_HandleAcceptEncoding);
       RegisterHeaderHandler(HKEY("IF-MODIFIED-SINCE"), Header_HandleIfModSince);

       RegisterNamespace("CURRENT_USER", 0, 1, tmplput_current_user, NULL, CTX_NONE);
       RegisterNamespace("NONCE", 0, 0, tmplput_nonce, NULL, 0);

       WebcitAddUrlHandler(HKEY("404"), "", 0, do_404, ANONYMOUS|COOKIEUNNEEDED);
/*
 * Look for commonly-found probes of malware such as worms, viruses, trojans, and Microsoft Office.
 * Short-circuit these requests so we don't have to send them through the full processing loop.
 */
       WebcitAddUrlHandler(HKEY("scripts"), "", 0, do_404, ANONYMOUS|BOGUS);        /* /root.exe - Worms and trojans and viruses, oh my! */
       WebcitAddUrlHandler(HKEY("c"), "", 0, do_404, ANONYMOUS|BOGUS);              /* /winnt */
       WebcitAddUrlHandler(HKEY("MSADC"), "", 0, do_404, ANONYMOUS|BOGUS);
       WebcitAddUrlHandler(HKEY("_vti"), "", 0, do_404, ANONYMOUS|BOGUS);           /* Broken Microsoft DAV implementation */
       WebcitAddUrlHandler(HKEY("MSOffice"), "", 0, do_404, ANONYMOUS|BOGUS);              /* Stoopid MSOffice thinks everyone is IIS */
       WebcitAddUrlHandler(HKEY("nonexistenshit"), "", 0, do_404, ANONYMOUS|BOGUS); /* Exploit found in the wild January 2009 */
}

Here is the call graph for this function:

Here is the caller graph for this function:

void InitModule_DATE ( void  )

Definition at line 85 of file http_datestring.c.

{
       RegisterNamespace("DATE:NOW:STR", 0, 0, tmplput_nowstr, NULL, CTX_NONE);
       RegisterNamespace("DATE:NOW:NO", 0, 0, tmplput_nowno, NULL, CTX_NONE);
}

Here is the call graph for this function:

Here is the caller graph for this function:

void InitModule_DATETIME ( void  )

Definition at line 302 of file fmt_date.c.

{
       RegisterPreference("calhourformat", _("Time format"), PRF_INT, LoadTimeformatSettingsCache);


}

Here is the call graph for this function:

Here is the caller graph for this function:

void InitModule_DOWNLOAD ( void  )

Definition at line 421 of file downloads.c.

{

       RegisterIterator("ROOM:FILES", 0, NULL, LoadFileList,
                      NULL, DeleteHash, CTX_FILELIST, CTX_NONE, 
                      IT_FLAG_DETECT_GROUPCHANGE);

       RegisterSortFunc(HKEY("filemime"),
                      NULL, 0,
                      CompareFilelistByMime,
                      CompareFilelistByMimeRev,
                      GroupchangeFilelistByMime,
                      CTX_FILELIST);
       RegisterSortFunc(HKEY("filename"),
                      NULL, 0,
                      CompareFilelistByName,
                      CompareFilelistByNameRev,
                      GroupchangeFilelistByName,
                      CTX_FILELIST);
       RegisterSortFunc(HKEY("filesize"),
                      NULL, 0,
                      CompareFilelistBySize,
                      CompareFilelistBySizeRev,
                      GroupchangeFilelistBySize,
                      CTX_FILELIST);
       RegisterSortFunc(HKEY("filesubject"),
                      NULL, 0,
                      CompareFilelistByComment,
                      CompareFilelistByCommentRev,
                      GroupchangeFilelistByComment,
                      CTX_FILELIST);
       RegisterSortFunc(HKEY("fileunsorted"),
                      NULL, 0,
                      CompareFilelistBySequence,
                      CompareFilelistBySequence,
                      GroupchangeFilelistBySequence,
                      CTX_FILELIST);

       RegisterNamespace("FILE:NAME", 0, 2, tmplput_FILE_NAME, NULL, CTX_FILELIST);
       RegisterNamespace("FILE:SIZE", 0, 1, tmplput_FILE_SIZE, NULL, CTX_FILELIST);
       RegisterNamespace("FILE:MIMETYPE", 0, 2, tmplput_FILEMIMETYPE, NULL, CTX_FILELIST);
       RegisterNamespace("FILE:COMMENT", 0, 2, tmplput_FILE_COMMENT, NULL, CTX_FILELIST);

       RegisterConditional(HKEY("COND:FILE:ISPIC"), 0, Conditional_FILE_ISPIC, CTX_FILELIST);

       WebcitAddUrlHandler(HKEY("image"), "", 0, output_image, ANONYMOUS);
       WebcitAddUrlHandler(HKEY("display_mime_icon"), "", 0, display_mime_icon , ANONYMOUS);
       WebcitAddUrlHandler(HKEY("download_file"), "", 0, download_file, NEED_URL);
       WebcitAddUrlHandler(HKEY("delete_file"), "", 0, delete_file, NEED_URL);
       WebcitAddUrlHandler(HKEY("upload_file"), "", 0, upload_file, 0);
}

Here is the call graph for this function:

Here is the caller graph for this function:

void InitModule_GETTEXT ( void  )

Definition at line 461 of file gettext.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void InitModule_GRAPHICS ( void  )

Definition at line 161 of file graphics.c.

{
       WebcitAddUrlHandler(HKEY("display_editpic"), "", 0, display_editpic, 0);
       WebcitAddUrlHandler(HKEY("editpic"), "", 0, editpic, 0);
       WebcitAddUrlHandler(HKEY("display_editroompic"), "", 0, display_editroompic, 0);
       WebcitAddUrlHandler(HKEY("editroompic"), "", 0, editroompic, 0);
       WebcitAddUrlHandler(HKEY("display_edithello"), "", 0, display_edithello, 0);
       WebcitAddUrlHandler(HKEY("edithellopic"), "", 0, edithellopic, 0);
       WebcitAddUrlHandler(HKEY("display_editgoodbuye"), "", 0, display_editgoodbyepic, 0);
       WebcitAddUrlHandler(HKEY("editgoodbuyepic"), "", 0, editgoodbuyepic, 0);
       WebcitAddUrlHandler(HKEY("display_editfloorpic"), "", 0, display_editfloorpic, 0);
       WebcitAddUrlHandler(HKEY("editfloorpic"), "", 0, editfloorpic, 0);
}

Here is the call graph for this function:

Here is the caller graph for this function:

void InitModule_GROUPDAV ( void  )

Definition at line 333 of file dav_main.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void InitModule_ICAL_SUBST ( void  )

Definition at line 124 of file ical_subst.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void InitModule_ICONBAR ( void  )

Definition at line 309 of file iconbar.c.

{
       long l;

       /*WebcitAddUrlHandler(HKEY("user_iconbar"), "", 0, doUserIconStylesheet, 0); */
       WebcitAddUrlHandler(HKEY("commit_iconbar"), "", 0, commit_iconbar, 0);
       WebcitAddUrlHandler(HKEY("toggle_wholist_expanded_state"), "", 0, toggle_wholist_expanded_state, AJAX);
       WebcitAddUrlHandler(HKEY("toggle_roomlist_expanded_state"), "", 0, toggle_roomlist_expanded_state, AJAX);
       RegisterConditional(HKEY("COND:ICONBAR:ACTIVE"), 3, ConditionalIsActiveStylesheet, CTX_NONE);
       RegisterNamespace("ICONBAR", 0, 0, tmplput_iconbar, NULL, CTX_NONE);
       RegisterConditional(HKEY("COND:ICONBAR:WHOLISTEXPANDED"), 0, ConditionalWholistExpanded, CTX_NONE);
       RegisterConditional(HKEY("COND:ICONBAR:ROOMLISTEXPANDED"), 0, ConditionalRoomlistExpanded, CTX_NONE);

       RegisterPreference("iconbar", _("Iconbar Setting"), PRF_STRING, LoadIconSettings);
       l = 1;
       while (IconbarDefaults[l].len != 0)
       {
              RegisterTokenParamDefine(IconbarDefaults[l].Key, 
                                    IconbarDefaults[l].len, l);
              l ++;
       }
       nIBV = l;
}

Here is the call graph for this function:

Here is the caller graph for this function:

void InitModule_INETCONF ( void  )

Definition at line 206 of file inetconf.c.

{
       WebcitAddUrlHandler(HKEY("save_inetconf"), "", 0, new_save_inetconf, 0);
       RegisterIterator("SERVCFG:INET", 1, NULL, GetInetConfHash, NULL, NULL, CTX_STRBUF, CTX_NONE, IT_NOFLAG);
       RegisterNamespace("SERVCFG:FLUSHINETCFG",0, 0, DeleteInetConfHash, NULL, CTX_NONE);
}

Here is the call graph for this function:

Here is the caller graph for this function:

void InitModule_LISTSUB ( void  )

Definition at line 361 of file listsub.c.

{
       RegisterConditional(HKEY("COND:LISTSUB:EXECUTE:SUBSCRIBE"), 0, Conditional_LISTSUB_EXECUTE_SUBSCRIBE,  CTX_NONE);
       RegisterConditional(HKEY("COND:LISTSUB:EXECUTE:UNSUBSCRIBE"), 0, Conditional_LISTSUB_EXECUTE_UNSUBSCRIBE,  CTX_NONE);
       RegisterConditional(HKEY("COND:LISTSUB:EXECUTE:CONFIRM:SUBSCRIBE"), 0, Conditional_LISTSUB_EXECUTE_CONFIRM_SUBSCRIBE,  CTX_NONE);

       WebcitAddUrlHandler(HKEY("listsub"), "", 0, do_listsub, ANONYMOUS|COOKIEUNNEEDED|FORCE_SESSIONCLOSE);


}

Here is the call graph for this function:

Here is the caller graph for this function:

void InitModule_MAINMENU ( void  )

Definition at line 166 of file mainmenu.c.

{
       WebcitAddUrlHandler(HKEY("display_aide_menu"), "", 0, display_aide_menu, 0);
       WebcitAddUrlHandler(HKEY("server_shutdown"), "", 0, display_shutdown, 0);
       WebcitAddUrlHandler(HKEY("display_main_menu"), "", 0, display_main_menu, 0);
       WebcitAddUrlHandler(HKEY("do_generic"), "", 0, do_generic, 0);
}

Here is the call graph for this function:

Here is the caller graph for this function:

void InitModule_MARCHLIST ( void  )

Definition at line 247 of file marchlist.c.

{
       RegisterConditional(HKEY("COND:UNGOTO"), 0, ConditionalHaveUngoto, CTX_NONE);
       RegisterNamespace("ROOM:UNGOTO", 0, 0, tmplput_ungoto, NULL, CTX_NONE);

       WebcitAddUrlHandler(HKEY("gotonext"), "", 0, _gotonext, NEED_URL);
       WebcitAddUrlHandler(HKEY("skip"), "", 0, gotonext, NEED_URL);
       WebcitAddUrlHandler(HKEY("ungoto"), "", 0, ungoto, NEED_URL);
}

Here is the call graph for this function:

Here is the caller graph for this function:

void InitModule_MSG ( void  )

Definition at line 1968 of file messages.c.

{
       RegisterPreference("use_sig",
                        _("Attach signature to email messages?"), 
                        PRF_YESNO, 
                        NULL);
       RegisterPreference("signature", _("Use this signature:"), PRF_QP_STRING, NULL);
       RegisterPreference("default_header_charset", 
                        _("Default character set for email headers:"), 
                        PRF_STRING, 
                        NULL);
       RegisterPreference("defaultfrom", _("Preferred email address"), PRF_STRING, NULL);
       RegisterPreference("defaultname", 
                        _("Preferred display name for email messages"), 
                        PRF_STRING, 
                        NULL);
       RegisterPreference("defaulthandle", 
                        _("Preferred display name for bulletin board posts"), 
                        PRF_STRING, 
                        NULL);
       RegisterPreference("mailbox",_("Mailbox view mode"), PRF_STRING, NULL);

       WebcitAddUrlHandler(HKEY("readnew"), "", 0, h_readnew, ANONYMOUS|NEED_URL);
       WebcitAddUrlHandler(HKEY("readold"), "", 0, h_readold, ANONYMOUS|NEED_URL);
       WebcitAddUrlHandler(HKEY("readfwd"), "", 0, h_readfwd, ANONYMOUS|NEED_URL);
       WebcitAddUrlHandler(HKEY("headers"), "", 0, h_headers, NEED_URL);
       WebcitAddUrlHandler(HKEY("readgt"), "", 0, h_readgt, ANONYMOUS|NEED_URL);
       WebcitAddUrlHandler(HKEY("readlt"), "", 0, h_readlt, ANONYMOUS|NEED_URL);
       WebcitAddUrlHandler(HKEY("do_search"), "", 0, h_do_search, 0);
       WebcitAddUrlHandler(HKEY("display_enter"), "", 0, display_enter, 0);
       WebcitAddUrlHandler(HKEY("post"), "", 0, post_message, PROHIBIT_STARTPAGE);
       WebcitAddUrlHandler(HKEY("move_msg"), "", 0, move_msg, PROHIBIT_STARTPAGE);
       WebcitAddUrlHandler(HKEY("delete_msg"), "", 0, delete_msg, PROHIBIT_STARTPAGE);
       WebcitAddUrlHandler(HKEY("msg"), "", 0, embed_message, NEED_URL);
       WebcitAddUrlHandler(HKEY("message"), "", 0, handle_one_message, NEED_URL|XHTTP_COMMANDS|COOKIEUNNEEDED|FORCE_SESSIONCLOSE);
       WebcitAddUrlHandler(HKEY("printmsg"), "", 0, print_message, NEED_URL);
       WebcitAddUrlHandler(HKEY("msgheaders"), "", 0, display_headers, NEED_URL);

       WebcitAddUrlHandler(HKEY("mimepart"), "", 0, view_mimepart, NEED_URL);
       WebcitAddUrlHandler(HKEY("mimepart_download"), "", 0, download_mimepart, NEED_URL);
       WebcitAddUrlHandler(HKEY("postpart"), "", 0, view_postpart, NEED_URL|PROHIBIT_STARTPAGE);
       WebcitAddUrlHandler(HKEY("postpart_download"), "", 0, download_postpart, NEED_URL|PROHIBIT_STARTPAGE);
       WebcitAddUrlHandler(HKEY("upload_attachment"), "", 0, upload_attachment, AJAX);
       WebcitAddUrlHandler(HKEY("remove_attachment"), "", 0, remove_attachment, AJAX);
       WebcitAddUrlHandler(HKEY("show_num_attachments"), "", 0, show_num_attachments, AJAX);

       /* json */
       WebcitAddUrlHandler(HKEY("roommsgs"), "", 0, jsonMessageList,0);

       l_subj = FourHash("subj", 4);
       l_wefw = FourHash("wefw", 4);
       l_msgn = FourHash("msgn", 4);
       l_from = FourHash("from", 4);
       l_rcpt = FourHash("rcpt", 4);
       l_cccc = FourHash("cccc", 4);
       l_node = FourHash("node", 4);
       l_rfca = FourHash("rfca", 4);

       return ;
}

Here is the call graph for this function:

Here is the caller graph for this function:

void InitModule_MSGRENDERERS ( void  )

Definition at line 1454 of file msg_renderers.c.

{
       RegisterReadLoopHandlerset(
              VIEW_MAILBOX,
              mailview_GetParamsGetServerCall,
              NULL, /* TODO: is this right? */
              NULL,
              ParseMessageListHeaders_Detail,
              NULL,
              NULL,
              mailview_Cleanup);

       RegisterReadLoopHandlerset(
              VIEW_JSON_LIST,
              json_GetParamsGetServerCall,
              json_MessageListHdr,
              NULL, /* TODO: is this right? */
              ParseMessageListHeaders_Detail,
              NULL,
              json_RenderView_or_Tail,
              json_Cleanup);

       RegisterSortFunc(HKEY("date"), 
                      NULL, 0,
                      summcmp_date,
                      summcmp_rdate,
                      groupchange_date,
                      CTX_MAILSUM);
       RegisterSortFunc(HKEY("subject"), 
                      NULL, 0,
                      summcmp_subj,
                      summcmp_rsubj,
                      groupchange_subj,
                      CTX_MAILSUM);
       RegisterSortFunc(HKEY("sender"),
                      NULL, 0,
                      summcmp_sender,
                      summcmp_rsender,
                      groupchange_sender,
                      CTX_MAILSUM);

       RegisterNamespace("SUMM:COUNT", 0, 0, tmplput_SUMM_COUNT, NULL, CTX_NONE);
       /* iterate over all known mails in WC->summ */
       RegisterIterator("MAIL:SUMM:MSGS", 0, NULL, iterate_get_mailsumm_All,
                      NULL,NULL, CTX_MAILSUM, CTX_NONE, IT_NOFLAG);

       RegisterNamespace("MAIL:SUMM:EUID", 0, 1, tmplput_MAIL_SUMM_EUID, NULL, CTX_MAILSUM);
       RegisterNamespace("MAIL:SUMM:DATEBRIEF", 0, 0, tmplput_MAIL_SUMM_DATE_BRIEF, NULL, CTX_MAILSUM);
       RegisterNamespace("MAIL:SUMM:DATEFULL", 0, 0, tmplput_MAIL_SUMM_DATE_FULL, NULL, CTX_MAILSUM);
       RegisterNamespace("MAIL:SUMM:DATENO",  0, 0, tmplput_MAIL_SUMM_DATE_NO,  NULL, CTX_MAILSUM);
       RegisterNamespace("MAIL:SUMM:N",       0, 0, tmplput_MAIL_SUMM_N,        NULL, CTX_MAILSUM);
       RegisterNamespace("MAIL:SUMM:PERMALINK", 0, 0, tmplput_MAIL_SUMM_PERMALINK, NULL, CTX_MAILSUM);
       RegisterNamespace("MAIL:SUMM:FROM",    0, 2, tmplput_MAIL_SUMM_FROM,     NULL, CTX_MAILSUM);
       RegisterNamespace("MAIL:SUMM:TO",      0, 2, tmplput_MAIL_SUMM_TO,       NULL, CTX_MAILSUM);
       RegisterNamespace("MAIL:SUMM:SUBJECT", 0, 4, tmplput_MAIL_SUMM_SUBJECT,  NULL, CTX_MAILSUM);
       RegisterNamespace("MAIL:SUMM:NTATACH", 0, 0, tmplput_MAIL_SUMM_NATTACH,  NULL, CTX_MAILSUM);
       RegisterNamespace("MAIL:SUMM:CCCC", 0, 2, tmplput_MAIL_SUMM_CCCC, NULL, CTX_MAILSUM);
       RegisterNamespace("MAIL:SUMM:H_NODE", 0, 2, tmplput_MAIL_SUMM_H_NODE,  NULL, CTX_MAILSUM);
       RegisterNamespace("MAIL:SUMM:ALLRCPT", 0, 2, tmplput_MAIL_SUMM_ALLRCPT,  NULL, CTX_MAILSUM);
       RegisterNamespace("MAIL:SUMM:ORGROOM", 0, 2, tmplput_MAIL_SUMM_ORGROOM,  NULL, CTX_MAILSUM);
       RegisterNamespace("MAIL:SUMM:RFCA", 0, 2, tmplput_MAIL_SUMM_RFCA, NULL, CTX_MAILSUM);
       RegisterNamespace("MAIL:SUMM:OTHERNODE", 2, 0, tmplput_MAIL_SUMM_OTHERNODE,  NULL, CTX_MAILSUM);
       RegisterNamespace("MAIL:SUMM:REFIDS", 0, 1, tmplput_MAIL_SUMM_REFIDS,  NULL, CTX_MAILSUM);
       RegisterNamespace("MAIL:SUMM:INREPLYTO", 0, 2, tmplput_MAIL_SUMM_INREPLYTO,  NULL, CTX_MAILSUM);
       RegisterNamespace("MAIL:BODY", 0, 2, tmplput_MAIL_BODY,  NULL, CTX_MAILSUM);
       RegisterNamespace("MAIL:QUOTETEXT", 1, 2, tmplput_QUOTED_MAIL_BODY,  NULL, CTX_NONE);
       RegisterNamespace("MAIL:EDITTEXT", 1, 2, tmplput_EDIT_MAIL_BODY,  NULL, CTX_NONE);
       RegisterNamespace("MAIL:EDITWIKI", 1, 2, tmplput_EDIT_WIKI_BODY,  NULL, CTX_NONE);
       RegisterConditional(HKEY("COND:MAIL:SUMM:RFCA"), 0, Conditional_MAIL_SUMM_RFCA,  CTX_MAILSUM);
       RegisterConditional(HKEY("COND:MAIL:SUMM:CCCC"), 0, Conditional_MAIL_SUMM_CCCC,  CTX_MAILSUM);
       RegisterConditional(HKEY("COND:MAIL:SUMM:UNREAD"), 0, Conditional_MAIL_SUMM_UNREAD, CTX_MAILSUM);
       RegisterConditional(HKEY("COND:MAIL:SUMM:H_NODE"), 0, Conditional_MAIL_SUMM_H_NODE, CTX_MAILSUM);
       RegisterConditional(HKEY("COND:MAIL:SUMM:OTHERNODE"), 0, Conditional_MAIL_SUMM_OTHERNODE, CTX_MAILSUM);
       RegisterConditional(HKEY("COND:MAIL:SUMM:SUBJECT"), 0, Conditional_MAIL_SUMM_SUBJECT, CTX_MAILSUM);
       RegisterConditional(HKEY("COND:MAIL:ANON"), 0, Conditional_ANONYMOUS_MESSAGE, CTX_MAILSUM);
       RegisterConditional(HKEY("COND:MAIL:TO"), 0, Conditional_MAIL_SUMM_TO, CTX_MAILSUM);       
       RegisterConditional(HKEY("COND:MAIL:SUBJ"), 0, Conditional_MAIL_SUMM_SUBJ, CTX_MAILSUM);   

       /* do we have mimetypes to iterate over? */
       RegisterConditional(HKEY("COND:MAIL:MIME:ATTACH"), 0, Conditional_MAIL_MIME_ALL, CTX_MAILSUM);
       RegisterConditional(HKEY("COND:MAIL:MIME:ATTACH:SUBMESSAGES"), 0, Conditional_MAIL_MIME_SUBMESSAGES, CTX_MAILSUM);
       RegisterConditional(HKEY("COND:MAIL:MIME:ATTACH:LINKS"), 0, Conditional_MAIL_MIME_ATTACHLINKS, CTX_MAILSUM);
       RegisterConditional(HKEY("COND:MAIL:MIME:ATTACH:ATT"), 0, Conditional_MAIL_MIME_ATTACH, CTX_MAILSUM);
       RegisterIterator("MAIL:MIME:ATTACH", 0, NULL, iterate_get_mime_All, 
                      NULL, NULL, CTX_MIME_ATACH, CTX_MAILSUM, IT_NOFLAG);
       RegisterIterator("MAIL:MIME:ATTACH:SUBMESSAGES", 0, NULL, iterate_get_mime_Submessages, 
                      NULL, NULL, CTX_MIME_ATACH, CTX_MAILSUM, IT_NOFLAG);
       RegisterIterator("MAIL:MIME:ATTACH:LINKS", 0, NULL, iterate_get_mime_AttachLinks, 
                      NULL, NULL, CTX_MIME_ATACH, CTX_MAILSUM, IT_NOFLAG);
       RegisterIterator("MAIL:MIME:ATTACH:ATT", 0, NULL, iterate_get_mime_Attachments, 
                      NULL, NULL, CTX_MIME_ATACH, CTX_MAILSUM, IT_NOFLAG);

       /* Parts of a mime attachent */
       RegisterNamespace("MAIL:MIME:NAME", 0, 2, tmplput_MIME_Name, NULL, CTX_MIME_ATACH);
       RegisterNamespace("MAIL:MIME:FILENAME", 0, 2, tmplput_MIME_FileName, NULL, CTX_MIME_ATACH);
       RegisterNamespace("MAIL:MIME:PARTNUM", 0, 2, tmplput_MIME_PartNum, NULL, CTX_MIME_ATACH);
       RegisterNamespace("MAIL:MIME:MSGNUM", 0, 2, tmplput_MIME_MsgNum, NULL, CTX_MIME_ATACH);
       RegisterNamespace("MAIL:MIME:DISPOSITION", 0, 2, tmplput_MIME_Disposition, NULL, CTX_MIME_ATACH);
       RegisterNamespace("MAIL:MIME:CONTENTTYPE", 0, 2, tmplput_MIME_ContentType, NULL, CTX_MIME_ATACH);
       RegisterNamespace("MAIL:MIME:CHARSET", 0, 2, tmplput_MIME_Charset, NULL, CTX_MIME_ATACH);
       RegisterNamespace("MAIL:MIME:LENGTH", 0, 2, tmplput_MIME_Length, NULL, CTX_MIME_ATACH);
       RegisterNamespace("MAIL:MIME:DATA", 0, 2, tmplput_MIME_Data, NULL, CTX_MIME_ATACH);
       /* load the actual attachment into WC->attachments; no output!!! */
       RegisterNamespace("MAIL:MIME:LOADDATA", 0, 0, tmplput_MIME_LoadData, NULL, CTX_MIME_ATACH);

       /* iterate the WC->attachments; use the above tokens for their contents */
       RegisterIterator("MSG:ATTACHNAMES", 0, NULL, iterate_get_registered_Attachments, 
                      NULL, NULL, CTX_MIME_ATACH, CTX_NONE, IT_NOFLAG);

       RegisterNamespace("MSG:NATTACH", 0, 0, get_registered_Attachments_Count,  NULL, CTX_NONE);

       /* mime renderers translate an attachment into webcit viewable html text */
       RegisterMimeRenderer(HKEY("message/rfc822"), render_MAIL, 0, 150);
       RegisterMimeRenderer(HKEY("text/vnote"), render_MIME_VNote, 1, 300);
       RegisterMimeRenderer(HKEY("text/x-vcard"), render_MIME_VCard, 1, 201);
       RegisterMimeRenderer(HKEY("text/vcard"), render_MIME_VCard, 1, 200);
       RegisterMimeRenderer(HKEY("text/calendar"), render_MIME_ICS, 1, 501);
       RegisterMimeRenderer(HKEY("application/ics"), render_MIME_ICS, 1, 500);
       RegisterMimeRenderer(HKEY("text/x-citadel-variformat"), render_MAIL_variformat, 1, 2);
       RegisterMimeRenderer(HKEY("text/plain"), render_MAIL_text_plain, 1, 3);
       RegisterMimeRenderer(HKEY("text"), render_MAIL_text_plain, 1, 1);
       RegisterMimeRenderer(HKEY("text/html"), render_MAIL_html, 1, 100);
       RegisterMimeRenderer(HKEY(""), render_MAIL_UNKNOWN, 0, 0);

       /* these headers are citserver replies to MSG4 and friends. one evaluator for each */
       RegisterMsgHdr(HKEY("nhdr"), examine_nhdr, 0);
       RegisterMsgHdr(HKEY("type"), examine_type, 0);
       RegisterMsgHdr(HKEY("from"), examine_from, 0);
       RegisterMsgHdr(HKEY("subj"), examine_subj, 0);
       RegisterMsgHdr(HKEY("msgn"), examine_msgn, 0);
       RegisterMsgHdr(HKEY("wefw"), examine_wefw, 0);
       RegisterMsgHdr(HKEY("cccc"), examine_cccc, 0);
       RegisterMsgHdr(HKEY("hnod"), examine_hnod, 0);
       RegisterMsgHdr(HKEY("room"), examine_room, 0);
       RegisterMsgHdr(HKEY("rfca"), examine_rfca, 0);
       RegisterMsgHdr(HKEY("node"), examine_node, 0);
       RegisterMsgHdr(HKEY("rcpt"), examine_rcpt, 0);
       RegisterMsgHdr(HKEY("time"), examine_time, 0);
       RegisterMsgHdr(HKEY("part"), examine_mime_part, 0);
       RegisterMsgHdr(HKEY("text"), examine_text, 1);
       /* these are the content-type headers we get infront of a message; put it into the same hash since it doesn't clash. */
       RegisterMsgHdr(HKEY("X-Citadel-MSG4-Partnum"), examine_msg4_partnum, 0);
       RegisterMsgHdr(HKEY("Content-type"), examine_content_type, 0);
       RegisterMsgHdr(HKEY("Content-length"), examine_content_lengh, 0);
       RegisterMsgHdr(HKEY("Content-transfer-encoding"), examine_content_encoding, 0); /* do we care? */
       RegisterMsgHdr(HKEY("charset"), examine_charset, 0);

       /* Don't care about these... */
       RegisterMsgHdr(HKEY("pref"), examine_pref, 0);
       RegisterMsgHdr(HKEY("suff"), examine_suff, 0);
       RegisterMsgHdr(HKEY("path"), examine_path, 0);
}

Here is the caller graph for this function:

void InitModule_NETCONF ( void  )

Definition at line 288 of file netconf.c.

{
       WebcitAddUrlHandler(HKEY("display_edit_node"), "", 0, display_edit_node, 0);

       WebcitAddUrlHandler(HKEY("aide_ignetconf_edit_node"), "", 0, edit_node, 0);
       WebcitAddUrlHandler(HKEY("display_netconf"), "", 0, display_netconf, 0);
       WebcitAddUrlHandler(HKEY("display_confirm_delete_node"), "", 0, display_confirm_delete_node, 0);
       WebcitAddUrlHandler(HKEY("delete_node"), "", 0, delete_node, 0);

                                                                                          
        RegisterNamespace("CFG:IGNET:NODE", 0, 1, tmplput_NodeName, NULL, CTX_NODECONF);
        RegisterNamespace("CFG:IGNET:SECRET", 0, 1, tmplput_Secret, NULL, CTX_NODECONF);
        RegisterNamespace("CFG:IGNET:HOST", 0, 1, tmplput_Host, NULL, CTX_NODECONF);
        RegisterNamespace("CFG:IGNET:PORT", 0, 1, tmplput_Port, NULL, CTX_NODECONF);

       RegisterIterator("NODECONFIG", 0, NULL, load_netconf, NULL, DeleteHash, CTX_NODECONF, CTX_NONE, IT_NOFLAG);
}

Here is the call graph for this function:

Here is the caller graph for this function:

void InitModule_NOTES ( void  )

Definition at line 439 of file notes.c.

{
       RegisterReadLoopHandlerset(
              VIEW_NOTES,
              notes_GetParamsGetServerCall,
              NULL,
              NULL,
              NULL,
              notes_LoadMsgFromServer,
              NULL,
              notes_Cleanup);

       WebcitAddUrlHandler(HKEY("add_new_note"), "", 0, add_new_note, 0);
       WebcitAddUrlHandler(HKEY("ajax_update_note"), "", 0, ajax_update_note, 0);

       RegisterNamespace("VNOTE:POS:LEFT", 0, 0, tmpl_vcard_put_posleft, NULL, CTX_VNOTE);
       RegisterNamespace("VNOTE:POS:TOP", 0, 0, tmpl_vcard_put_postop, NULL, CTX_VNOTE);
       RegisterNamespace("VNOTE:POS:WIDTH", 0, 0, tmpl_vcard_put_poswidth, NULL, CTX_VNOTE);
       RegisterNamespace("VNOTE:POS:HEIGHT", 0, 0, tmpl_vcard_put_posheight, NULL, CTX_VNOTE);
       RegisterNamespace("VNOTE:POS:HEIGHT2", 0, 0, tmpl_vcard_put_posheight2, NULL, CTX_VNOTE);
       RegisterNamespace("VNOTE:POS:WIDTH2", 0, 0, tmpl_vcard_put_width2, NULL, CTX_VNOTE);
       RegisterNamespace("VNOTE:COLOR", 0, 0, tmpl_vcard_put_color, NULL, CTX_VNOTE);
       RegisterNamespace("VNOTE:BGCOLOR", 0, 0,tmpl_vcard_put_bgcolor, NULL, CTX_VNOTE);
       RegisterNamespace("VNOTE:MSG", 0, 1, tmpl_vcard_put_message, NULL, CTX_VNOTE);
       RegisterNamespace("VNOTE:UID", 0, 0, tmpl_vcard_put_uid, NULL, CTX_VNOTE);
}

Here is the call graph for this function:

Here is the caller graph for this function:

void InitModule_OPENID ( void  )

Definition at line 123 of file openid.c.

{
       WebcitAddUrlHandler(HKEY("display_openids"), "", 0, display_openids, 0);
       WebcitAddUrlHandler(HKEY("openid_attach"), "", 0, openid_attach, 0);
       WebcitAddUrlHandler(HKEY("openid_detach"), "", 0, openid_detach, 0);
}

Here is the call graph for this function:

Here is the caller graph for this function:

void InitModule_PAGING ( void  )

Definition at line 142 of file paging.c.

{
       WebcitAddUrlHandler(HKEY("display_page"), "", 0, display_page, 0);
       WebcitAddUrlHandler(HKEY("page_user"), "", 0, page_user, 0);
       WebcitAddUrlHandler(HKEY("ajax_send_instant_message"), "", 0, ajax_send_instant_message, AJAX);
       RegisterConditional(HKEY("COND:PAGE:WAITING"), 0, Conditional_PAGE_WAITING, CTX_NONE);
}

Here is the call graph for this function:

Here is the caller graph for this function:

void InitModule_PARAMHANDLING ( void  )

Definition at line 482 of file paramhandling.c.

{
       WebcitAddUrlHandler(HKEY("diagnostics"), "", 0, diagnostics, NEED_URL);

       RegisterConditional(HKEY("COND:BSTR"), 1, ConditionalBstr, CTX_NONE);
       RegisterNamespace("BSTR", 1, 2, tmplput_bstr, NULL, CTX_NONE);
       RegisterNamespace("BSTR:FORWARD", 1, 2, tmplput_bstrforward, NULL, CTX_NONE);
       RegisterNamespace("URLPART", 1, 2, tmplput_url_part, NULL, CTX_NONE);
}

Here is the call graph for this function:

Here is the caller graph for this function:

void InitModule_PREFERENCES ( void  )

Definition at line 1177 of file preferences.c.

{
       WebcitAddUrlHandler(HKEY("set_preferences"), "", 0, set_preferences, 0);
       WebcitAddUrlHandler(HKEY("change_start_page"), "", 0, change_start_page, 0);

       RegisterPreference("startpage", _("Prefered startpage"), PRF_STRING, LoadStartpage);

       RegisterNamespace("OFFERSTARTPAGE", 0, 0, offer_start_page, NULL, CTX_NONE);
       RegisterNamespace("PREF:ROOM:VALUE", 1, 2, tmplput_CFG_RoomValue,  NULL, CTX_NONE);
       RegisterNamespace("PREF:ROOM:VALUE:INT", 1, 2, tmplput_CFG_RoomValueLong,  NULL, CTX_NONE);
       RegisterNamespace("PREF:VALUE", 1, 2, tmplput_CFG_Value, NULL, CTX_NONE);
       
       RegisterNamespace("PREF:DESCR", 1, 1, tmplput_CFG_Descr, NULL, CTX_NONE);

       RegisterConditional(HKEY("COND:PREF"), 4, ConditionalPreference, CTX_NONE);
       RegisterConditional(HKEY("COND:PREF:SET"), 4, ConditionalHasPreference, CTX_NONE);
       RegisterConditional(HKEY("COND:ROOM:SET"), 4, ConditionalHasRoomPreference, CTX_NONE);
       
       RegisterIterator("PREF:VALID:EMAIL:ADDR", 0, NULL, 
                      GetGVEAHash, NULL, DeleteGVEAHash, CTX_STRBUF, CTX_NONE, IT_NOFLAG);
       RegisterIterator("PREF:VALID:EMAIL:NAME", 0, NULL, 
                      GetGVSNHash, NULL, DeleteGVSNHash, CTX_STRBUF, CTX_NONE, IT_NOFLAG);

}

Here is the call graph for this function:

Here is the caller graph for this function:

void InitModule_PROPFIND ( void  )

TODO: is this right?

Definition at line 825 of file dav_propfind.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void InitModule_PUSHMAIL ( void  )

Definition at line 165 of file pushemail.c.

{
       WebcitAddUrlHandler(HKEY("display_pushemail"), "", 0, display_pushemail, 0);
       WebcitAddUrlHandler(HKEY("save_pushemail"), "", 0, save_pushemail, 0);
}

Here is the call graph for this function:

Here is the caller graph for this function:

void InitModule_REPORT ( void  )

Definition at line 105 of file dav_report.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void InitModule_ROOMCHAT ( void  )

Definition at line 151 of file roomchat.c.

{
       WebcitAddUrlHandler(HKEY("chat"), "", 0, do_chat, 0);
       WebcitAddUrlHandler(HKEY("chat_recv"), "", 0, chat_recv, AJAX);
       WebcitAddUrlHandler(HKEY("chat_rwho"), "", 0, chat_rwho, AJAX);
       WebcitAddUrlHandler(HKEY("chat_exit"), "", 0, chat_exit, AJAX);
       WebcitAddUrlHandler(HKEY("chat_send"), "", 0, chat_send, 0);
}

Here is the call graph for this function:

Here is the caller graph for this function:

void InitModule_ROOMLIST ( void  )

Definition at line 679 of file roomlist.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void InitModule_ROOMOPS ( void  )

Definition at line 1311 of file roomops.c.

{
       RegisterPreference("roomlistview",
                           _("Room list view"),
                           PRF_STRING,
                           NULL);
        RegisterPreference("emptyfloors", _("Show empty floors"), PRF_YESNO, NULL);

       WebcitAddUrlHandler(HKEY("json_roomflr"), "", 0, jsonRoomFlr, 0);

       WebcitAddUrlHandler(HKEY("delete_floor"), "", 0, delete_floor, 0);
       WebcitAddUrlHandler(HKEY("rename_floor"), "", 0, rename_floor, 0);
       WebcitAddUrlHandler(HKEY("create_floor"), "", 0, create_floor, 0);

       WebcitAddUrlHandler(HKEY("knrooms"), "", 0, knrooms, ANONYMOUS);
       WebcitAddUrlHandler(HKEY("dotgoto"), "", 0, dotgoto, NEED_URL);
       WebcitAddUrlHandler(HKEY("dotskip"), "", 0, dotskip, NEED_URL);

       WebcitAddUrlHandler(HKEY("goto_private"), "", 0, goto_private, NEED_URL);
       WebcitAddUrlHandler(HKEY("zap"), "", 0, zap, 0);
       WebcitAddUrlHandler(HKEY("entroom"), "", 0, entroom, 0);
       WebcitAddUrlHandler(HKEY("do_invt_kick"), "", 0, do_invt_kick, 0);
       
       WebcitAddUrlHandler(HKEY("netedit"), "", 0, netedit, 0);
       WebcitAddUrlHandler(HKEY("editroom"), "", 0, editroom, 0);
       WebcitAddUrlHandler(HKEY("delete_room"), "", 0, delete_room, 0);
       WebcitAddUrlHandler(HKEY("set_room_policy"), "", 0, set_room_policy, 0);
       WebcitAddUrlHandler(HKEY("changeview"), "", 0, change_view, 0);
       WebcitAddUrlHandler(HKEY("toggle_self_service"), "", 0, toggle_self_service, 0);


       REGISTERTokenParamDefine(QR_PERMANENT);
       REGISTERTokenParamDefine(QR_INUSE);
       REGISTERTokenParamDefine(QR_PRIVATE);
       REGISTERTokenParamDefine(QR_PASSWORDED);
       REGISTERTokenParamDefine(QR_GUESSNAME);
       REGISTERTokenParamDefine(QR_DIRECTORY);
       REGISTERTokenParamDefine(QR_UPLOAD);
       REGISTERTokenParamDefine(QR_DOWNLOAD);
       REGISTERTokenParamDefine(QR_VISDIR);
       REGISTERTokenParamDefine(QR_ANONONLY);
       REGISTERTokenParamDefine(QR_ANONOPT);
       REGISTERTokenParamDefine(QR_NETWORK);
       REGISTERTokenParamDefine(QR_PREFONLY);
       REGISTERTokenParamDefine(QR_READONLY);
       REGISTERTokenParamDefine(QR_MAILBOX);
       REGISTERTokenParamDefine(QR2_SYSTEM);
       REGISTERTokenParamDefine(QR2_SELFLIST);
       REGISTERTokenParamDefine(QR2_COLLABDEL);
       REGISTERTokenParamDefine(QR2_SUBJECTREQ);
       REGISTERTokenParamDefine(QR2_SMTP_PUBLIC);
       REGISTERTokenParamDefine(QR2_MODERATED);

       REGISTERTokenParamDefine(UA_KNOWN);
       REGISTERTokenParamDefine(UA_GOTOALLOWED);
       REGISTERTokenParamDefine(UA_HASNEWMSGS);
       REGISTERTokenParamDefine(UA_ZAPPED);
       REGISTERTokenParamDefine(UA_POSTALLOWED);
       REGISTERTokenParamDefine(UA_ADMINALLOWED);
       REGISTERTokenParamDefine(UA_DELETEALLOWED);
       REGISTERTokenParamDefine(UA_ISTRASH);

       REGISTERTokenParamDefine(US_NEEDVALID);
       REGISTERTokenParamDefine(US_PERM);
       REGISTERTokenParamDefine(US_LASTOLD);
       REGISTERTokenParamDefine(US_EXPERT);
       REGISTERTokenParamDefine(US_UNLISTED);
       REGISTERTokenParamDefine(US_NOPROMPT);
       REGISTERTokenParamDefine(US_PROMPTCTL);
       REGISTERTokenParamDefine(US_DISAPPEAR);
       REGISTERTokenParamDefine(US_REGIS);
       REGISTERTokenParamDefine(US_PAGINATOR);
       REGISTERTokenParamDefine(US_INTERNET);
       REGISTERTokenParamDefine(US_FLOORS);
       REGISTERTokenParamDefine(US_COLOR);
       REGISTERTokenParamDefine(US_USER_SET);

       REGISTERTokenParamDefine(VIEW_BBS);
       REGISTERTokenParamDefine(VIEW_MAILBOX);   
       REGISTERTokenParamDefine(VIEW_ADDRESSBOOK);
       REGISTERTokenParamDefine(VIEW_CALENDAR);  
       REGISTERTokenParamDefine(VIEW_TASKS);     
       REGISTERTokenParamDefine(VIEW_NOTES);            
       REGISTERTokenParamDefine(VIEW_WIKI);             
       REGISTERTokenParamDefine(VIEW_CALBRIEF);
       REGISTERTokenParamDefine(VIEW_JOURNAL);
       REGISTERTokenParamDefine(VIEW_BLOG);

       /* GNET types: */
       /* server internal, we need to know but ignore them. */
       REGISTERTokenParamDefine(subpending);
       REGISTERTokenParamDefine(unsubpending);
       REGISTERTokenParamDefine(lastsent);

       REGISTERTokenParamDefine(ignet_push_share);
       { /* these are the parts of an IGNET push config */
              REGISTERTokenParamDefine(GNET_IGNET_NODE);
              REGISTERTokenParamDefine(GNET_IGNET_ROOM);
       }
       REGISTERTokenParamDefine(listrecp);
       REGISTERTokenParamDefine(digestrecp);
       REGISTERTokenParamDefine(pop3client);
       { /* These are the parts of a pop3 client line... */
              REGISTERTokenParamDefine(GNET_POP3_HOST);
              REGISTERTokenParamDefine(GNET_POP3_USER);
              REGISTERTokenParamDefine(GNET_POP3_DONT_DELETE_REMOTE);
              REGISTERTokenParamDefine(GNET_POP3_INTERVAL);
       }
       REGISTERTokenParamDefine(rssclient);
       REGISTERTokenParamDefine(participate);



}

Here is the call graph for this function:

Here is the caller graph for this function:

void InitModule_ROOMTOKENS ( void  )

Definition at line 586 of file roomtokens.c.

{
       RegisterNamespace("ROOMBANNER", 0, 1, tmplput_roombanner, NULL, CTX_NONE);

       RegisterNamespace("FLOOR:ID", 0, 0, tmplput_FLOOR_ID, NULL, CTX_FLOORS);
       RegisterNamespace("ROOM:INFO:FLOORID", 0, 1, tmplput_ROOM_FLOORID, NULL, CTX_ROOMS);
       RegisterNamespace("ROOM:INFO:FLOOR:ID", 0, 0, tmplput_ROOM_FLOOR_ID, NULL, CTX_ROOMS);

       RegisterNamespace("FLOOR:NAME", 0, 1, tmplput_FLOOR_NAME, NULL, CTX_FLOORS);
       RegisterNamespace("ROOM:INFO:FLOOR:NAME", 0, 1, tmplput_ROOM_FLOOR_NAME, NULL, CTX_ROOMS);
       RegisterNamespace("THISROOM:FLOOR:NAME", 0, 1, tmplput_ThisRoomFloorName, NULL, CTX_NONE);

       RegisterNamespace("FLOOR:NROOMS", 0, 0, tmplput_FLOOR_NROOMS, NULL, CTX_FLOORS);
       RegisterNamespace("ROOM:INFO:FLOOR:NROOMS", 0, 0, tmplput_ROOM_FLOOR_NROOMS, NULL, CTX_ROOMS);

       RegisterConditional(HKEY("COND:FLOOR:ISSUBROOM"), 0, ConditionalFloorIsSUBROOM, CTX_FLOORS);
       RegisterConditional(HKEY("COND:FLOOR:NROOMS"), 1, ConditionalFloorHaveNRooms, CTX_FLOORS);
       RegisterConditional(HKEY("COND:ROOM:REST:ISSUBFLOOR"), 0, ConditionalFloorIsRESTSubFloor, CTX_FLOORS);
       RegisterConditional(HKEY("COND:FLOOR:ISVIRTUAL"), 0, ConditionalFloorIsVirtual, CTX_FLOORS);

       /**** Room... ******/
        /**** Name ******/
       RegisterNamespace("ROOMNAME", 0, 1, tmplput_RoomName, NULL, CTX_NONE);
       RegisterNamespace("THISROOM", 0, 1, tmplput_current_room, NULL, CTX_NONE);
       RegisterNamespace("ROOM:INFO:NAME", 0, 1, tmplput_ROOM_NAME, NULL, CTX_ROOMS);
       RegisterNamespace("ROOM:INFO:PRINT_NAME", 0, 1, tmplput_ROOM_NAME, NULL, CTX_NONE);
       RegisterNamespace("ROOM:INFO:BASENAME", 0, 1, tmplput_ROOM_BASENAME, NULL, CTX_ROOMS);
       RegisterNamespace("ROOM:INFO:LEVELNTIMES", 1, 2, tmplput_ROOM_LEVEL_N_TIMES, NULL, CTX_ROOMS);
       RegisterConditional(HKEY("COND:ROOM:INFO:IS_INBOX"), 0, ConditionalRoomIsInbox, CTX_ROOMS);

       /****** Properties ******/
       RegisterNamespace("ROOM:INFO:QRFLAGS", 0, 1, tmplput_ROOM_QRFLAGS, NULL, CTX_ROOMS);
       RegisterConditional(HKEY("COND:THISROOM:FLAG:QR"), 0, ConditionalThisRoomHas_QRFlag, CTX_NONE);
       RegisterConditional(HKEY("COND:THISROOM:EDIT"), 0, ConditionalRoom_MayEdit, CTX_NONE);
       RegisterConditional(HKEY("COND:ROOM:FLAG:QR"), 0, ConditionalRoomHas_QRFlag, CTX_ROOMS);

       RegisterConditional(HKEY("COND:THISROOM:FLAG:QR2"), 0, ConditionalThisRoomHas_QRFlag2, CTX_NONE);
       RegisterConditional(HKEY("COND:ROOM:FLAG:QR2"), 0, ConditionalRoomHas_QRFlag2, CTX_ROOMS);

       RegisterConditional(HKEY("COND:ROOM:FLAG:UA"), 0, ConditionalRoomHas_UAFlag, CTX_ROOMS);
       RegisterNamespace("ROOM:INFO:RAFLAGS", 0, 1, tmplput_ROOM_RAFLAGS, NULL, CTX_ROOMS);


       RegisterNamespace("ROOM:INFO:LISTORDER", 0, 1, tmplput_ROOM_LISTORDER, NULL, CTX_ROOMS);
       RegisterNamespace("THISROOM:ORDER", 0, 0, tmplput_ThisRoomOrder, NULL, CTX_NONE);
       RegisterConditional(HKEY("COND:THISROOM:ORDER"), 0, ConditionalThisRoomOrder, CTX_NONE);

       RegisterNamespace("ROOM:INFO:LASTCHANGE", 0, 1, tmplput_ROOM_LASTCHANGE, NULL, CTX_ROOMS);

       RegisterNamespace("THISROOM:MSGS:NEW", 0, 0, tmplput_ThisRoom_nNewMessages, NULL, CTX_NONE);
       RegisterNamespace("THISROOM:MSGS:TOTAL", 0, 0, tmplput_ThisRoom_nTotalMessages, NULL, CTX_NONE);

       RegisterNamespace("THISROOM:PASS", 0, 1, tmplput_ThisRoomPass, NULL, CTX_NONE);
       RegisterNamespace("THISROOM:AIDE", 0, 1, tmplput_ThisRoomAide, NULL, CTX_NONE);
       RegisterConditional(HKEY("COND:ROOMAIDE"), 2, ConditionalRoomAide, CTX_NONE);
       RegisterConditional(HKEY("COND:ACCESS:DELETE"), 2, ConditionalRoomAcessDelete, CTX_NONE);
       RegisterConditional(HKEY("COND:ROOM:EDITACCESS"), 0, ConditionalHaveRoomeditRights, CTX_NONE);

       RegisterConditional(HKEY("COND:THISROOM:HAVE_PIC"), 0, ConditionalThisRoomXHavePic, CTX_NONE);

       RegisterNamespace("THISROOM:INFOTEXT", 1, 2, tmplput_ThisRoomInfoText, NULL, CTX_NONE);
       RegisterConditional(HKEY("COND:THISROOM:HAVE_INFOTEXT"), 0, ConditionalThisRoomXHaveInfoText, CTX_NONE);

       RegisterNamespace("THISROOM:FILES:N", 0, 1, tmplput_ThisRoomXNFiles, NULL, CTX_NONE);
       RegisterNamespace("THISROOM:FILES:STR", 0, 1, tmplput_ThisRoomX_FileString, NULL, CTX_NONE);
       RegisterNamespace("THISROOM:DIRECTORY", 0, 1, tmplput_ThisRoomDirectory, NULL, CTX_NONE);

       RegisterNamespace("ROOM:INFO:ACL", 0, 1, tmplput_ROOM_ACL, NULL, CTX_ROOMS);
       RegisterConditional(HKEY("COND:THIS:THAT:ROOM"), 0, ConditionalIsThisThatRoom, CTX_ROOMS);
}

Here is the caller graph for this function:

void InitModule_ROOMVIEWS ( void  )

Definition at line 250 of file roomviews.c.

{
       initialize_viewdefs();

       RegisterNamespace("THISROOM:VIEW_STRING", 0, 1, tmplput_CurrentRoomViewString, NULL, CTX_NONE);
       RegisterNamespace("ROOM:VIEW_STRING", 1, 2, tmplput_RoomViewString, NULL, CTX_NONE);

       RegisterConditional(HKEY("COND:ALLOWED_DEFAULT_VIEW"), 0, ConditionalIsAllowedDefaultView, CTX_NONE);
       RegisterConditional(HKEY("COND:THISROOM:DEFAULT_VIEW"), 0, ConditionalThisRoomDefView, CTX_NONE);
       RegisterNamespace("THISROOM:DEFAULT_VIEW", 0, 0, tmplput_CurrentRoomDefView, NULL, CTX_NONE);
       RegisterNamespace("ROOM:INFO:DEFVIEW", 0, 1, tmplput_ROOM_DEFVIEW, NULL, CTX_ROOMS);

       RegisterConditional(HKEY("COND:ROOM:TYPE_IS"), 0, ConditionalIsRoomtype, CTX_NONE);

       RegisterConditional(HKEY("COND:THISROOM:HAVE_VIEW"), 0, ConditionalThisRoomHaveView, CTX_NONE);
       RegisterConditional(HKEY("COND:ROOM:dav_CONTENT"), 0, ConditionalRoomHasGroupdavContent, CTX_ROOMS);

       RegisterConditional(HKEY("COND:THISROOM:CURR_VIEW"), 0, ConditionalThisRoomCurrView, CTX_NONE);
       RegisterNamespace("ROOM:INFO:VIEW", 0, 1, tmplput_ROOM_VIEW, NULL, CTX_ROOMS);

       RegisterNamespace("ROOM:INFO:COLLECTIONTYPE", 0, 1, tmplput_ROOM_COLLECTIONTYPE, NULL, CTX_ROOMS);



}

Here is the call graph for this function:

Here is the caller graph for this function:

void InitModule_RSS ( void  )

Definition at line 289 of file feed_generator.c.

{
       WebcitAddUrlHandler(HKEY("feed_rss"), "", 0, feed_rss, ANONYMOUS|COOKIEUNNEEDED);
       RegisterNamespace("THISROOM:FEED:RSS", 0, 0, tmplput_rssbutton, NULL, CTX_NONE);
       RegisterNamespace("THISROOM:FEED:RSSMETA", 0, 0, tmplput_rssmeta, NULL, CTX_NONE);
}

Here is the call graph for this function:

Here is the caller graph for this function:

void InitModule_SERVFUNC ( void  )

Definition at line 698 of file serv_func.c.

{
       is_uds = strcasecmp(ctdlhost, "uds") == 0;
       if (is_uds)
              snprintf(serv_sock_name, PATH_MAX, "%s/citadel.socket", ctdlport);

       RegisterConditional(HKEY("COND:SERV:OPENID"), 2, conditional_serv_supports_openid, CTX_NONE);
       RegisterConditional(HKEY("COND:SERV:NEWU"), 2, conditional_serv_newuser_disabled, CTX_NONE);
       RegisterConditional(HKEY("COND:SERV:FULLTEXT_ENABLED"), 2, conditional_serv_fulltext_enabled, CTX_NONE);
       RegisterConditional(HKEY("COND:SERV:LDAP_ENABLED"), 2, conditional_serv_ldap_enabled, CTX_NONE);
        RegisterConditional(HKEY("COND:SERV:SUPPORTS_GUEST"), 2, conditional_serv_supports_guest, CTX_NONE);
       RegisterNamespace("SERV:PID", 0, 0, tmplput_serv_ip, NULL, CTX_NONE);
       RegisterNamespace("SERV:NODENAME", 0, 1, tmplput_serv_nodename, NULL, CTX_NONE);
       RegisterNamespace("SERV:HUMANNODE", 0, 1, tmplput_serv_humannode, NULL, CTX_NONE);
       RegisterNamespace("SERV:FQDN", 0, 1, tmplput_serv_fqdn, NULL, CTX_NONE);
       RegisterNamespace("SERV:SOFTWARE", 0, 1, tmplput_serv_software, NULL, CTX_NONE);
       RegisterNamespace("SERV:REV_LEVEL", 0, 0, tmplput_serv_rev_level, NULL, CTX_NONE);
       RegisterNamespace("SERV:BBS_CITY", 0, 1, tmplput_serv_bbs_city, NULL, CTX_NONE);
       RegisterNamespace("SERV:MESG", 1, 2, tmplput_mesg, NULL, CTX_NONE);
       RegisterNamespace("SERV:ADMIN", 0, 1, tmplput_serv_admin, NULL, CTX_NONE);
}

Here is the call graph for this function:

Here is the caller graph for this function:

void InitModule_SETUP_WIZARD ( void  )

Definition at line 50 of file setup_wizard.c.

{
       WebcitAddUrlHandler(HKEY("setup_wizard"), "", 0, do_setup_wizard, 0);
}

Here is the call graph for this function:

Here is the caller graph for this function:

void InitModule_SIEVE ( void  )

Definition at line 891 of file sieve.c.

{
       REGISTERTokenParamDefine(from);           
       REGISTERTokenParamDefine(tocc);           
       REGISTERTokenParamDefine(subject); 
       REGISTERTokenParamDefine(replyto); 
       REGISTERTokenParamDefine(sender);  
       REGISTERTokenParamDefine(resentfrom);     
       REGISTERTokenParamDefine(resentto);       
       REGISTERTokenParamDefine(envfrom); 
       REGISTERTokenParamDefine(envto);   
       REGISTERTokenParamDefine(xmailer); 
       REGISTERTokenParamDefine(xspamflag);      
       REGISTERTokenParamDefine(xspamstatus);    
       REGISTERTokenParamDefine(listid);  
       REGISTERTokenParamDefine(size);           
       REGISTERTokenParamDefine(all);

       REGISTERTokenParamDefine(contains);
       REGISTERTokenParamDefine(notcontains);
       REGISTERTokenParamDefine(is);
       REGISTERTokenParamDefine(isnot);
       REGISTERTokenParamDefine(matches);
       REGISTERTokenParamDefine(notmatches);

       REGISTERTokenParamDefine(keep);
       REGISTERTokenParamDefine(discard);
       REGISTERTokenParamDefine(reject);
       REGISTERTokenParamDefine(fileinto);
       REGISTERTokenParamDefine(redirect);
       REGISTERTokenParamDefine(vacation);

       REGISTERTokenParamDefine(larger);
       REGISTERTokenParamDefine(smaller);

       /* these are c-keyworads, so do it by hand. */
       RegisterTokenParamDefine(HKEY("continue"), econtinue);
       RegisterTokenParamDefine(HKEY("stop"), estop);

       RegisterIterator("SIEVE:SCRIPTS", 0, NULL, GetSieveScriptListing, NULL, NULL, CTX_SIEVELIST, CTX_NONE, IT_NOFLAG);

       RegisterConditional(HKEY("COND:SIEVE:SCRIPT:ACTIVE"), 0, ConditionalSieveScriptIsActive, CTX_SIEVELIST);
       RegisterConditional(HKEY("COND:SIEVE:SCRIPT:ISRULES"), 0, ConditionalSieveScriptIsRulesScript, CTX_SIEVELIST);
       RegisterNamespace("SIEVE:SCRIPT:NAME", 0, 1, tmplput_SieveScriptName, NULL, CTX_SIEVELIST);
       RegisterNamespace("SIEVE:SCRIPT:CONTENT", 0, 1, tmplput_SieveScriptContent, NULL, CTX_SIEVELIST);

 
       RegisterIterator("SIEVE:RULES", 0, NULL, GetSieveRules, NULL, DeleteHash, CTX_SIEVESCRIPT, CTX_NONE, IT_NOFLAG);

       RegisterConditional(HKEY("COND:SIEVE:ACTIVE"), 1, ConditionalSieveRule_Active, CTX_SIEVESCRIPT);
       RegisterConditional(HKEY("COND:SIEVE:HFIELD"), 1, ConditionalSieveRule_hfield, CTX_SIEVESCRIPT);
       RegisterConditional(HKEY("COND:SIEVE:COMPARE"), 1, ConditionalSieveRule_compare, CTX_SIEVESCRIPT);
       RegisterConditional(HKEY("COND:SIEVE:ACTION"), 1, ConditionalSieveRule_action, CTX_SIEVESCRIPT);
       RegisterConditional(HKEY("COND:SIEVE:SIZECOMP"), 1, ConditionalSieveRule_sizecomp, CTX_SIEVESCRIPT);
       RegisterConditional(HKEY("COND:SIEVE:FINAL"), 1, ConditionalSieveRule_final, CTX_SIEVESCRIPT);
       RegisterConditional(HKEY("COND:SIEVE:THISROOM"), 1, ConditionalSieveRule_ThisRoom, CTX_SIEVESCRIPT);

       RegisterNamespace("SIEVE:SCRIPT:HTEXT", 0, 1, tmplput_SieveRule_htext, NULL, CTX_SIEVESCRIPT);
       RegisterNamespace("SIEVE:SCRIPT:SIZE", 0, 1, tmplput_SieveRule_sizeval, NULL, CTX_SIEVESCRIPT);
       RegisterNamespace("SIEVE:SCRIPT:FILEINTO", 0, 1, tmplput_SieveRule_fileinto, NULL, CTX_SIEVESCRIPT);
       RegisterNamespace("SIEVE:SCRIPT:REDIRECT", 0, 1, tmplput_SieveRule_redirect, NULL, CTX_SIEVESCRIPT);
       RegisterNamespace("SIEVE:SCRIPT:AUTOMSG", 0, 1, tmplput_SieveRule_automsg, NULL, CTX_SIEVESCRIPT);

       /* fetch our room into WCC->ThisRoom, to evaluate while iterating over rooms with COND:THIS:THAT:ROOM */
       RegisterNamespace("SIEVE:SCRIPT:LOOKUP_FILEINTO", 0, 1, tmplput_SieveRule_lookup_FileIntoRoom, NULL, CTX_SIEVESCRIPT);
       WebcitAddUrlHandler(HKEY("save_sieve"), "", 0, save_sieve, 0);
       WebcitAddUrlHandler(HKEY("create_script"), "", 0, create_script, 0);
       WebcitAddUrlHandler(HKEY("delete_script"), "", 0, delete_script, 0);
       WebcitAddUrlHandler(HKEY("display_sieve_add_or_delete"), "", 0, display_sieve_add_or_delete, 0);
}

Here is the call graph for this function:

Here is the caller graph for this function:

void InitModule_SITECONFIG ( void  )

Definition at line 460 of file siteconfig.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void InitModule_SITEMAP ( void  )

Definition at line 204 of file sitemap.c.

{
       WebcitAddUrlHandler(HKEY("sitemap"), "", 0, sitemap, ANONYMOUS|COOKIEUNNEEDED);
       WebcitAddUrlHandler(HKEY("sitemap.xml"), "", 0, sitemap, ANONYMOUS|COOKIEUNNEEDED);
}

Here is the call graph for this function:

Here is the caller graph for this function:

void InitModule_SMTP_QUEUE ( void  )

Definition at line 382 of file smtpqueue.c.

{

       RegisterQItemHandler(HKEY("msgid"),              QItem_Handle_MsgID);
       RegisterQItemHandler(HKEY("envelope_from"),      QItem_Handle_EnvelopeFrom);
       RegisterQItemHandler(HKEY("retry"),              QItem_Handle_retry);
       RegisterQItemHandler(HKEY("attempted"),          QItem_Handle_Attempted);
       RegisterQItemHandler(HKEY("remote"),             QItem_Handle_Recipient);
       RegisterQItemHandler(HKEY("bounceto"),           QItem_Handle_BounceTo);
       RegisterQItemHandler(HKEY("source_room"), QItem_Handle_SenderRoom);
       RegisterQItemHandler(HKEY("submitted"),          QItem_Handle_Submitted);
       RegisterMimeRenderer(HKEY("application/x-citadel-delivery-list"), render_QUEUE, 1, 9000);
       RegisterNamespace("MAILQ:ID", 0, 0, tmplput_MailQID, NULL, CTX_MAILQITEM);
       RegisterNamespace("MAILQ:PAYLOAD:ID", 0, 0, tmplput_MailQPayloadID, NULL, CTX_MAILQITEM);
       RegisterNamespace("MAILQ:BOUNCETO", 0, 1, tmplput_MailQBounceTo, NULL, CTX_MAILQITEM);
       RegisterNamespace("MAILQ:ATTEMPTED", 0, 0, tmplput_MailQAttempted, NULL, CTX_MAILQITEM);
       RegisterNamespace("MAILQ:SUBMITTED", 0, 0, tmplput_MailQSubmitted, NULL, CTX_MAILQITEM);
       RegisterNamespace("MAILQ:ENVELOPEFROM", 0, 1, tmplput_MailQEnvelopeFrom, NULL, CTX_MAILQITEM);
       RegisterNamespace("MAILQ:SRCROOM", 0, 1, tmplput_MailQSourceRoom, NULL, CTX_MAILQITEM);
       RegisterConditional(HKEY("COND:MAILQ:HAVESRCROOM"), 0, Conditional_MailQ_HaveSourceRoom,  CTX_MAILQITEM);
       RegisterNamespace("MAILQ:RETRY", 0, 0, tmplput_MailQRetry, NULL, CTX_MAILQITEM);

       RegisterNamespace("MAILQ:RCPT:ADDR", 0, 1, tmplput_MailQRCPT, NULL, CTX_MAILQ_RCPT);
       RegisterNamespace("MAILQ:RCPT:STATUS", 0, 0, tmplput_MailQRCPTStatus, NULL, CTX_MAILQ_RCPT);
       RegisterNamespace("MAILQ:RCPT:STATUSMSG", 0, 1, tmplput_MailQStatusMsg, NULL, CTX_MAILQ_RCPT);

       RegisterIterator("MAILQ:RCPT", 0, NULL, iterate_get_Recipients, 
                      NULL, NULL, CTX_MAILQ_RCPT, CTX_MAILQITEM, IT_NOFLAG);


       RegisterReadLoopHandlerset(
              VIEW_QUEUE,
              qview_GetParamsGetServerCall,
              qview_PrintPageHeader,
              NULL, /* TODO: is this right? */
              NULL,
              qview_LoadMsgFromServer,
              qview_RenderView_or_Tail,
              qview_Cleanup);

}

Here is the call graph for this function:

Here is the caller graph for this function:

void InitModule_STATIC ( void  )
void InitModule_SUBST ( void  )

Definition at line 2731 of file subst.c.

{
       memset(&NoCtx, 0, sizeof(WCTemplputParams));
       RegisterNamespace("--", 0, 2, tmplput_Comment, NULL, CTX_NONE);
       RegisterNamespace("SORT:ICON", 1, 2, tmplput_SORT_ICON, NULL, CTX_NONE);
       RegisterNamespace("SORT:ORDER", 1, 2, tmplput_SORT_ORDER, NULL, CTX_NONE);
       RegisterNamespace("SORT:NEXT", 1, 2, tmplput_SORT_NEXT, NULL, CTX_NONE);
       RegisterNamespace("CONTEXTSTR", 0, 1, tmplput_ContextString, NULL, CTX_STRBUF);
       RegisterNamespace("CONTEXTSTRARR", 1, 2, tmplput_ContextStringArray, NULL, CTX_STRBUFARR);
       RegisterNamespace("ITERATE", 2, 100, tmpl_iterate_subtmpl, preeval_iterate, CTX_NONE);
       RegisterNamespace("DOBOXED", 1, 2, tmpl_do_boxed, NULL, CTX_NONE);
       RegisterNamespace("DOTABBED", 2, 100, tmpl_do_tabbed, preeval_do_tabbed, CTX_NONE);
       RegisterControlNS(HKEY("TAB:N"), 0, 0, tmplput_TAB_N, CTX_TAB);
       RegisterControlNS(HKEY("TAB:SUBJECT"), 0, 1, tmplput_TAB_TITLE, CTX_TAB);


       RegisterNamespace("LONGVECTOR", 1, 1, tmplput_long_vector, NULL, CTX_LONGVECTOR);


       RegisterConditional(HKEY("COND:CONTEXTSTR"), 3, ConditionalContextStr, CTX_STRBUF);
       RegisterConditional(HKEY("COND:CONTEXTSTRARR"), 4, ConditionalContextStrinArray, CTX_STRBUFARR);
       RegisterConditional(HKEY("COND:LONGVECTOR"), 4, ConditionalLongVector, CTX_LONGVECTOR);


       RegisterControlConditional(HKEY("COND:ITERATE:ISGROUPCHANGE"), 2, 
                               conditional_ITERATE_ISGROUPCHANGE, 
                               CTX_ITERATE);
       RegisterControlConditional(HKEY("COND:ITERATE:LASTN"), 2, 
                               conditional_ITERATE_LASTN, 
                               CTX_ITERATE);
       RegisterControlConditional(HKEY("COND:ITERATE:FIRSTN"), 2, 
                               conditional_ITERATE_FIRSTN, 
                               CTX_ITERATE);

       RegisterControlNS(HKEY("ITERATE:ODDEVEN"), 0, 0, tmplput_ITERATE_ODDEVEN, CTX_ITERATE);
       RegisterControlNS(HKEY("ITERATE:KEY"), 0, 0, tmplput_ITERATE_KEY, CTX_ITERATE);
       RegisterControlNS(HKEY("ITERATE:N"), 0, 0, tmplput_ITERATE_LASTN, CTX_ITERATE);
       RegisterNamespace("CURRENTFILE", 0, 1, tmplput_CURRENT_FILE, NULL, CTX_NONE);
       RegisterNamespace("DEF:STR", 1, 1, tmplput_DefStr, NULL, CTX_NONE);
       RegisterNamespace("DEF:VAL", 1, 1, tmplput_DefVal, NULL, CTX_NONE);




}

Here is the call graph for this function:

Here is the caller graph for this function:

void InitModule_SUMMARY ( void  )

Definition at line 214 of file summary.c.

{
       RegisterNamespace("TIME:NOW", 0, 0, tmplput_output_date, NULL, CTX_NONE);
       WebcitAddUrlHandler(HKEY("summary"), "", 0, display_summary_page, ANONYMOUS);
       WebcitAddUrlHandler(HKEY("new_messages_html"), "", 0, new_messages_section, AJAX);
       WebcitAddUrlHandler(HKEY("tasks_inner_html"), "", 0, tasks_section, AJAX);
       WebcitAddUrlHandler(HKEY("calendar_inner_html"), "", 0, calendar_section, AJAX);
}

Here is the call graph for this function:

Here is the caller graph for this function:

void InitModule_SYSMSG ( void  )

Definition at line 122 of file sysmsgs.c.

{
       WebcitAddUrlHandler(HKEY("display_editinfo"), "", 0, display_editinfo, 0);
       WebcitAddUrlHandler(HKEY("editinfo"), "", 0, editinfo, 0);
       WebcitAddUrlHandler(HKEY("display_editbio"), "", 0, display_editbio, 0);
       WebcitAddUrlHandler(HKEY("editbio"), "", 0, editbio, 0);
}

Here is the call graph for this function:

Here is the caller graph for this function:

void InitModule_TASKS ( void  )

Definition at line 745 of file tasks.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void InitModule_USEREDIT ( void  )

Definition at line 813 of file useredit.c.

{
       WebcitAddUrlHandler(HKEY("showuser"), "", 0, showuser, 0);
       WebcitAddUrlHandler(HKEY("select_user_to_edit"), "", 0, _select_user_to_edit, 0);
       WebcitAddUrlHandler(HKEY("display_edituser"), "", 0, _display_edituser, 0);
       WebcitAddUrlHandler(HKEY("edituser"), "", 0, edituser, 0);
       WebcitAddUrlHandler(HKEY("create_user"), "", 0, create_user, 0);

       RegisterNamespace("USERLIST:USERNAME",      0, 1, tmplput_USERLIST_UserName, NULL, CTX_USERLIST);
       RegisterNamespace("USERLIST:PASSWD",        0, 1, tmplput_USERLIST_Password, NULL, CTX_USERLIST);
       RegisterNamespace("USERLIST:ACCLVLNO",      0, 0, tmplput_USERLIST_AccessLevelNo, NULL, CTX_USERLIST);
       RegisterNamespace("USERLIST:ACCLVLSTR",     0, 0, tmplput_USERLIST_AccessLevelStr, NULL, CTX_USERLIST);
       RegisterNamespace("USERLIST:UID",           0, 0, tmplput_USERLIST_UID, NULL, CTX_USERLIST);
       RegisterNamespace("USERLIST:LASTLOGON:STR", 0, 0, tmplput_USERLIST_LastLogonStr, NULL, CTX_USERLIST);
       RegisterNamespace("USERLIST:LASTLOGON:NO",  0, 0, tmplput_USERLIST_LastLogonNo, NULL, CTX_USERLIST);
       RegisterNamespace("USERLIST:NLOGONS",       0, 0, tmplput_USERLIST_nLogons, NULL, CTX_USERLIST);
       RegisterNamespace("USERLIST:NPOSTS",        0, 0, tmplput_USERLIST_nPosts, NULL, CTX_USERLIST);
                                              
       RegisterNamespace("USERLIST:FLAGS",         0, 0, tmplput_USERLIST_Flags, NULL, CTX_USERLIST);
       RegisterNamespace("USERLIST:DAYSTILLPURGE", 0, 0, tmplput_USERLIST_DaysTillPurge, NULL, CTX_USERLIST);

       RegisterNamespace("USER:BIO", 1, 2, tmplput_USER_BIO,  NULL, CTX_NONE);

       RegisterConditional(HKEY("COND:USERNAME"),  0,    ConditionalUser, CTX_USERLIST);
       RegisterConditional(HKEY("COND:USERACCESS"), 0,   ConditionalUserAccess, CTX_USERLIST);
       RegisterConditional(HKEY("COND:USERLIST:FLAG:USE_INTERNET"), 0, ConditionalFlagINetEmail, CTX_USERLIST);
       RegisterConditional(HKEY("COND:USERLIST:HAVEBIO"), 0, ConditionalHaveBIO, CTX_USERLIST);

       RegisterConditional(HKEY("COND:USER:PIC"), 1, Conditional_USER_HAS_PIC,  CTX_NONE);

       RegisterIterator("USERLIST", 0, NULL, iterate_load_userlist, NULL, DeleteHash, CTX_USERLIST, CTX_NONE, IT_FLAG_DETECT_GROUPCHANGE);
       


       RegisterSortFunc(HKEY("user:name"),
                      HKEY("userlist"),
                      CompareUserListName,
                      CompareUserListNameRev,
                      GroupchangeUserListName,
                      CTX_USERLIST);
       RegisterSortFunc(HKEY("user:accslvl"),
                      HKEY("userlist"),
                      CompareAccessLevel,
                      CompareAccessLevelRev,
                      GroupchangeAccessLevel,
                      CTX_USERLIST);

       RegisterSortFunc(HKEY("user:nlogons"),
                      HKEY("userlist"),
                      ComparenLogons,
                      ComparenLogonsRev,
                      GroupchangenLogons,
                      CTX_USERLIST);

       RegisterSortFunc(HKEY("user:uid"),
                      HKEY("userlist"),
                      CompareUID,
                      CompareUIDRev,
                      GroupchangeUID,
                      CTX_USERLIST);

       RegisterSortFunc(HKEY("user:lastlogon"),
                      HKEY("userlist"),
                      CompareLastLogon,
                      CompareLastLogonRev,
                      GroupchangeLastLogon,
                      CTX_USERLIST);

       RegisterSortFunc(HKEY("user:nmsgposts"),
                      HKEY("userlist"),
                      ComparenPosts,
                      ComparenPostsRev,
                      GroupchangenPosts,
                      CTX_USERLIST);

       REGISTERTokenParamDefine(AxDeleted);
       REGISTERTokenParamDefine(AxNewU);
       REGISTERTokenParamDefine(AxProbU);
       REGISTERTokenParamDefine(AxLocU);
       REGISTERTokenParamDefine(AxNetU);
       REGISTERTokenParamDefine(AxPrefU);
       REGISTERTokenParamDefine(AxAideU);
}

Here is the caller graph for this function:

void InitModule_VCARD ( void  )

Definition at line 1505 of file vcard_edit.c.

{
       RegisterReadLoopHandlerset(
              VIEW_ADDRESSBOOK,
              vcard_GetParamsGetServerCall,
              NULL,
              NULL,
              NULL, 
              vcard_LoadMsgFromServer,
              vcard_RenderView_or_Tail,
              vcard_Cleanup);
       WebcitAddUrlHandler(HKEY("edit_vcard"), "", 0, edit_vcard, 0);
       WebcitAddUrlHandler(HKEY("submit_vcard"), "", 0, submit_vcard, 0);
       WebcitAddUrlHandler(HKEY("vcardphoto"), "", 0, display_vcard_photo_img, NEED_URL);

       Put(VCToEnum, HKEY("n"), (void*)VC_n, reference_free_handler);
       Put(VCToEnum, HKEY("fn"), (void*)VC_fn, reference_free_handler);
       Put(VCToEnum, HKEY("title"), (void*)VC_title, reference_free_handler);
       Put(VCToEnum, HKEY("org"), (void*)VC_org, reference_free_handler);
       Put(VCToEnum, HKEY("email"), (void*)VC_email, reference_free_handler);
       Put(VCToEnum, HKEY("tel"), (void*)VC_tel, reference_free_handler);
       Put(VCToEnum, HKEY("tel_tel"), (void*)VC_tel_tel, reference_free_handler);
       Put(VCToEnum, HKEY("tel_work"), (void*)VC_tel_work, reference_free_handler);
       Put(VCToEnum, HKEY("tel_home"), (void*)VC_tel_home, reference_free_handler);
       Put(VCToEnum, HKEY("tel_cell"), (void*)VC_tel_cell, reference_free_handler);
       Put(VCToEnum, HKEY("adr"), (void*)VC_adr, reference_free_handler);
       Put(VCToEnum, HKEY("photo"), (void*)VC_photo, reference_free_handler);
       Put(VCToEnum, HKEY("version"), (void*)VC_version, reference_free_handler);
       Put(VCToEnum, HKEY("rev"), (void*)VC_rev, reference_free_handler);
       Put(VCToEnum, HKEY("label"), (void*)VC_label, reference_free_handler);


       RegisterNamespace("VC", 1, 2, tmplput_VCARD_ITEM, NULL, CTX_VCARD);

       REGISTERTokenParamDefine(VC_n);
       REGISTERTokenParamDefine(VC_fn);
       REGISTERTokenParamDefine(VC_title);
       REGISTERTokenParamDefine(VC_org);
       REGISTERTokenParamDefine(VC_email);
       REGISTERTokenParamDefine(VC_tel);
       REGISTERTokenParamDefine(VC_tel_tel);
       REGISTERTokenParamDefine(VC_tel_work);
       REGISTERTokenParamDefine(VC_tel_home);
       REGISTERTokenParamDefine(VC_tel_cell);
       REGISTERTokenParamDefine(VC_adr);
       REGISTERTokenParamDefine(VC_photo);
       REGISTERTokenParamDefine(VC_version);
       REGISTERTokenParamDefine(VC_rev);
       REGISTERTokenParamDefine(VC_label);

}

Here is the call graph for this function:

Here is the caller graph for this function:

void InitModule_WEBCIT ( void  )

Definition at line 896 of file webcit.c.

{
       char dir[SIZ];
       WebcitAddUrlHandler(HKEY("blank"), "", 0, blank_page, ANONYMOUS|COOKIEUNNEEDED|ISSTATIC);
       WebcitAddUrlHandler(HKEY("landing"), "", 0, display_default_landing_page, ANONYMOUS|COOKIEUNNEEDED);
       WebcitAddUrlHandler(HKEY("do_template"), "", 0, url_do_template, ANONYMOUS);
       WebcitAddUrlHandler(HKEY("sslg"), "", 0, seconds_since_last_gexp, AJAX|LOGCHATTY);
       WebcitAddUrlHandler(HKEY("ajax_servcmd"), "", 0, ajax_servcmd, 0);
       WebcitAddUrlHandler(HKEY("webcit"), "", 0, blank_page, URLNAMESPACE);
       WebcitAddUrlHandler(HKEY("push"), "", 0, push_destination, AJAX);
       WebcitAddUrlHandler(HKEY("pop"), "", 0, pop_destination, 0);

       WebcitAddUrlHandler(HKEY("401"), "", 0, authorization_required, ANONYMOUS|COOKIEUNNEEDED);
       RegisterConditional(HKEY("COND:IMPMSG"), 0, ConditionalImportantMesage, CTX_NONE);
       RegisterConditional(HKEY("COND:REST:DEPTH"), 0, Conditional_REST_DEPTH, CTX_NONE);
       RegisterConditional(HKEY("COND:IS_HTTPS"), 0, Conditional_IS_HTTPS, CTX_NONE);

       RegisterNamespace("CSSLOCAL", 0, 0, tmplput_csslocal, NULL, CTX_NONE);
       RegisterNamespace("IMPORTANTMESSAGE", 0, 0, tmplput_importantmessage, NULL, CTX_NONE);
       RegisterNamespace("TRAILING_JAVASCRIPT", 0, 0, tmplput_trailing_javascript, NULL, CTX_NONE);
       RegisterNamespace("URL:DISPLAYNAME", 0, 1, tmplput_HANDLER_DISPLAYNAME, NULL, CTX_NONE);
       RegisterNamespace("PACKAGESTRING", 0, 1, tmplput_packagestring, NULL, CTX_NONE);

       
       snprintf(dir, SIZ, "%s/webcit.css", static_local_dir);
       if (!access(dir, R_OK)) {
              syslog(9, "Using local Stylesheet [%s]", dir);
              csslocal = NewStrBufPlain(HKEY("<link href=\"static.local/webcit.css\" rel=\"stylesheet\" type=\"text/css\" />"));
       }
       else
              syslog(9, "No Site-local Stylesheet [%s] installed.", dir);

}

Here is the call graph for this function:

Here is the caller graph for this function:

void InitModule_WHO ( void  )

Definition at line 327 of file who.c.

{
       

       WebcitAddUrlHandler(HKEY("terminate_session"), "", 0, _terminate_session, 0);
       WebcitAddUrlHandler(HKEY("edit_me"), "", 0, edit_me, 0);

       RegisterIterator("WHOLIST", 0, NULL, GetWholistHash, NULL, DeleteWholistHash, CTX_WHO, CTX_NONE, IT_NOFLAG);

       RegisterNamespace("WHO:NAME",        0, 1, tmplput_who_username, NULL, CTX_WHO);
       RegisterNamespace("WHO:ROOM",        0, 1, tmplput_who_room, NULL, CTX_WHO);
       RegisterNamespace("WHO:HOST",        0, 1, tmplput_who_host, NULL, CTX_WHO);
       RegisterNamespace("WHO:REALROOM",    0, 1, tmplput_who_realroom, NULL, CTX_WHO);
       RegisterNamespace("WHO:REALHOST",    0, 1, tmplput_who_realhost, NULL, CTX_WHO);
       RegisterNamespace("WHO:LASTACTIVE",  0, 1, tmplput_who_lastactive, NULL, CTX_WHO);
       RegisterNamespace("WHO:IDLESINCE",   0, 1, tmplput_who_idlesince, NULL, CTX_WHO);
       RegisterNamespace("WHO:SESSION",     0, 1, tmplput_who_session, NULL, CTX_WHO);
       RegisterNamespace("WHO:NSESSIONS",   0, 1, tmplput_who_nsessions, NULL, CTX_WHO);
       RegisterNamespace("WHO:NSESSIONS",   0, 1, tmplput_who_nsessions, NULL, CTX_WHO);

       RegisterConditional(HKEY("WHO:IDLE"),      1, conditional_who_idle, CTX_WHO);
       RegisterConditional(HKEY("WHO:NSESSIONS"), 1, conditional_who_nsessions, CTX_WHO);
       RegisterConditional(HKEY("WHO:ISME"),      1, conditional_who_isme, CTX_WHO);
       RegisterConditional(HKEY("WHO:REALROOM"),  1, conditional_who_realroom, CTX_WHO);
       RegisterConditional(HKEY("WHO:REALHOST"),  1, conditional_who_realhost, CTX_WHO);
}

Here is the call graph for this function:

Here is the caller graph for this function:

void InitModule_WIKI ( void  )

Definition at line 337 of file wiki.c.

{
       RegisterReadLoopHandlerset(
              VIEW_WIKI,
              wiki_GetParamsGetServerCall,
              wiki_PrintHeaderPage,
              NULL,
              NULL,
              NULL,
              NULL,
              wiki_Cleanup
       );

       WebcitAddUrlHandler(HKEY("wiki"), "", 0, display_wiki_page, 0);
       WebcitAddUrlHandler(HKEY("wiki_history"), "", 0, display_wiki_history, 0);
       WebcitAddUrlHandler(HKEY("wiki_pagelist"), "", 0, display_wiki_pagelist, 0);
       RegisterNamespace("WIKI:DISPLAYHISTORY", 0, 0, tmplput_display_wiki_history, NULL, CTX_NONE);
       RegisterNamespace("WIKI:DISPLAYPAGELIST", 0, 0, tmplput_display_wiki_pagelist, NULL, CTX_NONE);
       RegisterConditional(HKEY("COND:WIKI:PAGE"), 1, ConditionalHaveWikiPage, CTX_NONE);
       RegisterConditional(HKEY("COND:WIKI:TYPE"), 1, ConditionalHavewikiType, CTX_NONE);
}

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 773 of file context_loop.c.

{
       DeleteHash(&HttpReqTypes);
       DeleteHash(&HttpHeaderHandler);
}

Here is the caller graph for this function:

void ServerShutdownModule_DAV ( void  )

Definition at line 325 of file dav_main.c.

{
       DeleteHash(&DavNamespaces);
}

Here is the caller graph for this function:

Definition at line 402 of file gettext.c.

{
}

Here is the caller graph for this function:

void ServerShutdownModule_ICAL ( void  )

Definition at line 132 of file ical_subst.c.

{
       DeleteHash(&IcalComponentMap);
}

Here is the caller graph for this function:

Definition at line 230 of file iconbar.c.

{
       DeleteHash(&IBDfl);
}

Here is the caller graph for this function:

Definition at line 1625 of file msg_renderers.c.

{
       DeleteHash(&MsgHeaderHandler);
       DeleteHash(&MimeRenderHandler);
       DeleteHash(&ReadLoopHandler);
}

Here is the caller graph for this function:

Definition at line 1214 of file preferences.c.

{
       DeleteHash(&PreferenceHooks);
}

Here is the caller graph for this function:

Definition at line 690 of file serv_func.c.

{
       FreeStrBuf(&EmbeddableMimeStrs);
       DeleteHash(&EmbeddableMimes);
}

Here is the caller graph for this function:

Definition at line 497 of file siteconfig.c.

{
       DeleteHash(&ZoneHash);
}

Here is the caller graph for this function:

Definition at line 301 of file smtpqueue.c.

{
       DeleteHash(&QItemHandlers);
}

Here is the caller graph for this function:

void ServerShutdownModule_STATIC ( void  )

Definition at line 379 of file static.c.

{
       DeleteHash(&StaticFilemappings[0]);
       DeleteHash(&StaticFilemappings[1]);
       DeleteHash(&StaticFilemappings[2]);
       DeleteHash(&StaticFilemappings[3]);
}

Here is the caller graph for this function:

void ServerShutdownModule_SUBST ( void  )

Definition at line 2800 of file subst.c.

{
       DeleteHash(&TemplateCache);
       DeleteHash(&LocalTemplateCache);

       DeleteHash(&GlobalNS);
       DeleteHash(&Iterators);
       DeleteHash(&Conditionals);
       DeleteHash(&SortHash);
       DeleteHash(&Defines);
}

Here is the caller graph for this function:

void ServerShutdownModule_VCARD ( void  )

Definition at line 1498 of file vcard_edit.c.

{
       DeleteHash(&VCToEnum);
}

Here is the caller graph for this function:

void ServerShutdownModule_WEBCIT ( void  )

Definition at line 940 of file webcit.c.

{
       FreeStrBuf(&csslocal);
       DeleteHash(&HandlerHash);
}

Here is the caller graph for this function:

void ServerStartModule_CONTEXT ( void  )

Definition at line 724 of file context_loop.c.

{
       long *v;
       HttpReqTypes = NewHash(1, NULL);
       HttpHeaderHandler = NewHash(1, NULL);

       v = malloc(sizeof(long));
       *v = eGET;
       Put(HttpReqTypes, HKEY("GET"), v, NULL);

       v = malloc(sizeof(long));
       *v = ePOST;
       Put(HttpReqTypes, HKEY("POST"), v, NULL);

       v = malloc(sizeof(long));
       *v = eOPTIONS;
       Put(HttpReqTypes, HKEY("OPTIONS"), v, NULL);

       v = malloc(sizeof(long));
       *v = ePROPFIND;
       Put(HttpReqTypes, HKEY("PROPFIND"), v, NULL);

       v = malloc(sizeof(long));
       *v = ePUT;
       Put(HttpReqTypes, HKEY("PUT"), v, NULL);

       v = malloc(sizeof(long));
       *v = eDELETE;
       Put(HttpReqTypes, HKEY("DELETE"), v, NULL);

       v = malloc(sizeof(long));
       *v = eHEAD;
       Put(HttpReqTypes, HKEY("HEAD"), v, NULL);

       v = malloc(sizeof(long));
       *v = eMOVE;
       Put(HttpReqTypes, HKEY("MOVE"), v, NULL);

       v = malloc(sizeof(long));
       *v = eCOPY;
       Put(HttpReqTypes, HKEY("COPY"), v, NULL);

       v = malloc(sizeof(long));
       *v = eREPORT;
       Put(HttpReqTypes, HKEY("REPORT"), v, NULL);
}

Here is the caller graph for this function:

void ServerStartModule_DAV ( void  )

Definition at line 316 of file dav_main.c.

{

       DavNamespaces = NewHash(1, NULL);
}

Here is the caller graph for this function:

void ServerStartModule_ICONBAR ( void  )

Definition at line 239 of file iconbar.c.

{
       int i = 1;
       IBDfl = NewHash(1, NULL);

       while (IconbarDefaults[i].len != 0)
       {
              Put(IBDfl, 
                  IconbarDefaults[i].Key, 
                  IconbarDefaults[i].len, 
                  &IconbarDefaults[i], 
                  reference_free_handler);
              i++;
       }
}

Here is the caller graph for this function:

Definition at line 1616 of file msg_renderers.c.

{
       MsgHeaderHandler = NewHash(1, NULL);
       MimeRenderHandler = NewHash(1, NULL);
       ReadLoopHandler = NewHash(1, NULL);
}

Here is the caller graph for this function:

Definition at line 1205 of file preferences.c.

{
       PreferenceHooks = NewHash(1, NULL);
}

Here is the caller graph for this function:

void ServerStartModule_SERV_FUNC ( void  )

Definition at line 681 of file serv_func.c.

{
       EmbeddableMimes = NewHash(1, Flathash);
       EmbeddableMimeStrs = NewStrBuf();
}

Here is the caller graph for this function:

Definition at line 490 of file siteconfig.c.

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 307 of file smtpqueue.c.

{
       QItemHandlers = NewHash(0, NULL);
}

Here is the caller graph for this function:

void ServerStartModule_STATIC ( void  )

Definition at line 370 of file static.c.

{
       StaticFilemappings[0] = NewHash(1, NULL);
       StaticFilemappings[1] = NewHash(1, NULL);
       StaticFilemappings[2] = NewHash(1, NULL);
       StaticFilemappings[3] = NewHash(1, NULL);
}

Here is the caller graph for this function:

void ServerStartModule_SUBST ( void  )

Definition at line 2779 of file subst.c.

{
       LocalTemplateCache = NewHash(1, NULL);
       TemplateCache = NewHash(1, NULL);

       GlobalNS = NewHash(1, NULL);
       Iterators = NewHash(1, NULL);
       Conditionals = NewHash(1, NULL);
       SortHash = NewHash(1, NULL);
       Defines = NewHash(1, NULL);
}

Here is the caller graph for this function:

void ServerStartModule_VCARD ( void  )

Definition at line 1490 of file vcard_edit.c.

{
       VCToEnum = NewHash(0, NULL);

}

Here is the caller graph for this function:

void ServerStartModule_WEBCIT ( void  )

Definition at line 932 of file webcit.c.

{
       HandlerHash = NewHash(1, NULL);
}

Here is the caller graph for this function:

Definition at line 392 of file modules_init.c.

{

#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Attaching Session; GETTEXT\n");
#endif
       SessionAttachModule_GETTEXT(sess);
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Attaching Session; PARAMHANDLING\n");
#endif
       SessionAttachModule_PARAMHANDLING(sess);
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Attaching Session; SUBST\n");
#endif
       SessionAttachModule_SUBST(sess);
}

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 440 of file modules_init.c.

{

#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Initializing AUTH\n");
#endif
       SessionDestroyModule_AUTH(*sess);
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Initializing GETTEXT\n");
#endif
       SessionDestroyModule_GETTEXT(*sess);
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Initializing ICONBAR\n");
#endif
       SessionDestroyModule_ICONBAR(*sess);
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Initializing MSGRENDERERS\n");
#endif
       SessionDestroyModule_MSGRENDERERS(*sess);
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Initializing PAGING\n");
#endif
       SessionDestroyModule_PAGING(*sess);
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Initializing PREFERENCES\n");
#endif
       SessionDestroyModule_PREFERENCES(*sess);
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Initializing ROOMCHAT\n");
#endif
       SessionDestroyModule_ROOMCHAT(*sess);
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Initializing ROOMOPS\n");
#endif
       SessionDestroyModule_ROOMOPS(*sess);
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Initializing SERVFUNC\n");
#endif
       SessionDestroyModule_SERVFUNC(*sess);
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Initializing SITECONFIG\n");
#endif
       SessionDestroyModule_SITECONFIG(*sess);
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Initializing SUBST\n");
#endif
       SessionDestroyModule_SUBST(*sess);
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Initializing TCPSOCKETS\n");
#endif
       SessionDestroyModule_TCPSOCKETS(*sess);
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Initializing WEBCIT\n");
#endif
       SessionDestroyModule_WEBCIT(*sess);
       free((*sess));
       (*sess) = NULL;
}

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 410 of file modules_init.c.

{

#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Initializing MSG\n");
#endif
       SessionDetachModule_MSG(sess);
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Initializing PARAMHANDLING\n");
#endif
       SessionDetachModule_PARAMHANDLING(sess);
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Initializing _PREFERENCES\n");
#endif
       SessionDetachModule__PREFERENCES(sess);
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Initializing SIEVE\n");
#endif
       SessionDetachModule_SIEVE(sess);
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Initializing SUBST\n");
#endif
       SessionDetachModule_SUBST(sess);
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Initializing WEBCIT\n");
#endif
       SessionDetachModule_WEBCIT(sess);
}

Here is the call graph for this function:

Here is the caller graph for this function:

void session_new_modules ( wcsession sess)

Definition at line 366 of file modules_init.c.

{

#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Initializing GETTEXT\n");
#endif
       SessionNewModule_GETTEXT(sess);
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Initializing PREFERENCES\n");
#endif
       SessionNewModule_PREFERENCES(sess);
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Initializing SUBST\n");
#endif
       SessionNewModule_SUBST(sess);
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Initializing TCPSOCKETS\n");
#endif
       SessionNewModule_TCPSOCKETS(sess);
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Initializing WEBCIT\n");
#endif
       SessionNewModule_WEBCIT(sess);
}

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 489 of file gettext.c.

{
#ifdef ENABLE_NLS
       go_selected_language();                                 /* set locale */
#endif
}

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 495 of file paramhandling.c.

{
       sess->Hdr->urlstrings = NewHash(1,NULL);
}

Here is the caller graph for this function:

Definition at line 2822 of file subst.c.

{
}

Here is the caller graph for this function:

Definition at line 961 of file auth.c.

{
       FreeStrBuf(&sess->wc_username);
       FreeStrBuf(&sess->wc_fullname);
       FreeStrBuf(&sess->wc_password);
       FreeStrBuf(&sess->httpauth_pass);
       FreeStrBuf(&sess->cs_inet_email);
}

Here is the caller graph for this function:

Definition at line 498 of file gettext.c.

{
#ifdef ENABLE_NLS
       stop_selected_language();                        /* unset locale */
#endif
}

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 337 of file iconbar.c.

{
       if (sess->IBSettingsVec != NULL)
              free(sess->IBSettingsVec);
}

Here is the caller graph for this function:

Definition at line 1636 of file msg_renderers.c.

{
       DeleteHash(&sess->attachments);
       FreeStrBuf(&sess->ConvertBuf1);
       FreeStrBuf(&sess->ConvertBuf2);
}

Here is the caller graph for this function:

Definition at line 153 of file paging.c.

{
       /* nothing here anymore */
}

Here is the caller graph for this function:

Definition at line 1238 of file preferences.c.

{
       DeleteHash(&sess->hash_prefs);
}

Here is the caller graph for this function:

Definition at line 163 of file roomchat.c.

{
       /* nothing here anymore */
}

Here is the caller graph for this function:

Definition at line 1429 of file roomops.c.

{
       _FlushRoomList (sess);
}

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 724 of file serv_func.c.

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 505 of file siteconfig.c.

{
       DeleteHash(&sess->ServCfg);
}

Here is the caller graph for this function:

Definition at line 2835 of file subst.c.

{

}

Here is the caller graph for this function:

Definition at line 908 of file tcp_sockets.c.

{
       FreeStrBuf(&sess->CLineBuf);
       FreeStrBuf(&sess->ReadBuf);
       sess->connected = 0;
       sess->ReadPos = NULL;
       FreeStrBuf(&sess->MigrateReadLineBuf);
       if (sess->serv_sock > 0) {
              syslog(LOG_DEBUG, "Closing socket %d", sess->serv_sock);
              close(sess->serv_sock);
       }
       sess->serv_sock = -1;
}

Here is the caller graph for this function:

Definition at line 980 of file webcit.c.

{
       FreeStrBuf(&sess->WBuf);
       FreeStrBuf(&sess->HBuf);
       FreeStrBuf(&sess->ImportantMsg);
       FreeStrBuf(&sess->PushedDestination);
}

Here is the caller graph for this function:

Definition at line 1221 of file preferences.c.

{
       if (sess->SavePrefsToServer) {
              save_preferences();
              sess->SavePrefsToServer = 0;
       }
}

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 2031 of file messages.c.

{
       DeleteHash(&sess->summ);
}

Here is the caller graph for this function:

Definition at line 502 of file paramhandling.c.

{
       DeleteHash(&sess->Hdr->urlstrings);
       FreeStrBuf(&sess->upload_filename);
}

Here is the caller graph for this function:

Definition at line 884 of file sieve.c.

{
       DeleteHash(&sess->KnownSieveScripts);
}

Here is the caller graph for this function:

Definition at line 2828 of file subst.c.

{
       FreeStrBuf(&sess->WFBuf);
}

Here is the caller graph for this function:

Definition at line 959 of file webcit.c.

{
       DeleteHash(&sess->Directory);

       FreeStrBuf(&sess->upload);
       sess->upload_length = 0;
       
       FreeStrBuf(&sess->trailing_javascript);

       if (StrLength(sess->WBuf) > SIZ * 30) /* Bigger than 120K? release. */
       {
              FreeStrBuf(&sess->WBuf);
              sess->WBuf = NewStrBuf();
       }
       else
              FlushStrBuf(sess->WBuf);
       FlushStrBuf(sess->HBuf);
}

Here is the caller graph for this function:

Definition at line 475 of file gettext.c.

{
#ifdef ENABLE_NLS
       if (   (sess != NULL)
              && (!sess->Hdr->HR.Static)
              && (sess->Hdr->HR.browser_language != NULL)
       ) {
              httplang_to_locale(sess->Hdr->HR.browser_language, sess);
       }
#endif
}

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 1231 of file preferences.c.

{
       sess->hash_prefs = NewHash(1,NULL);
}

Here is the caller graph for this function:

Definition at line 2815 of file subst.c.

{

}

Here is the caller graph for this function:

Definition at line 900 of file tcp_sockets.c.

{
       sess->CLineBuf = NewStrBuf();
       sess->MigrateReadLineBuf = NewStrBuf();
}

Here is the caller graph for this function:

Definition at line 950 of file webcit.c.

{
       sess->ImportantMsg = NewStrBuf();
       sess->WBuf = NewStrBufPlain(NULL, SIZ * 4);
       sess->HBuf = NewStrBufPlain(NULL, SIZ / 4);
}

Here is the caller graph for this function:

void shutdown_modules ( void  )

Definition at line 304 of file modules_init.c.

{

#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Shutting down CONTEXT\n");
#endif
       ServerShutdownModule_CONTEXT();
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Shutting down DAV\n");
#endif
       ServerShutdownModule_DAV();
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Shutting down GETTEXT\n");
#endif
       ServerShutdownModule_GETTEXT();
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Shutting down ICAL\n");
#endif
       ServerShutdownModule_ICAL();
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Shutting down ICONBAR\n");
#endif
       ServerShutdownModule_ICONBAR();
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Shutting down MSGRENDERERS\n");
#endif
       ServerShutdownModule_MSGRENDERERS();
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Shutting down PREFERENCES\n");
#endif
       ServerShutdownModule_PREFERENCES();
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Shutting down SERV_FUNC\n");
#endif
       ServerShutdownModule_SERV_FUNC();
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Shutting down SITECONFIG\n");
#endif
       ServerShutdownModule_SITECONFIG();
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Shutting down SMTP_QUEUE\n");
#endif
       ServerShutdownModule_SMTP_QUEUE();
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Shutting down STATIC\n");
#endif
       ServerShutdownModule_STATIC();
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Shutting down SUBST\n");
#endif
       ServerShutdownModule_SUBST();
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Shutting down VCARD\n");
#endif
       ServerShutdownModule_VCARD();
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Shutting down WEBCIT\n");
#endif
       ServerShutdownModule_WEBCIT();
}

Here is the call graph for this function:

Here is the caller graph for this function:

void start_modules ( void  )

Definition at line 23 of file modules_init.c.

{
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Starting CONTEXT\n");
#endif
       ServerStartModule_CONTEXT();
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Starting DAV\n");
#endif
       ServerStartModule_DAV();
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Starting ICONBAR\n");
#endif
       ServerStartModule_ICONBAR();
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Starting MSGRENDERERS\n");
#endif
       ServerStartModule_MSGRENDERERS();
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Starting PREFERENCES\n");
#endif
       ServerStartModule_PREFERENCES();
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Starting SERV_FUNC\n");
#endif
       ServerStartModule_SERV_FUNC();
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Starting SITECONFIG\n");
#endif
       ServerStartModule_SITECONFIG();
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Starting SMTP_QUEUE\n");
#endif
       ServerStartModule_SMTP_QUEUE();
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Starting STATIC\n");
#endif
       ServerStartModule_STATIC();
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Starting SUBST\n");
#endif
       ServerStartModule_SUBST();
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Starting VCARD\n");
#endif
       ServerStartModule_VCARD();
#ifdef DBG_PRINNT_HOOKS_AT_START
       syslog(CTDL_INFO, "Starting WEBCIT\n");
#endif
       ServerStartModule_WEBCIT();
}

Here is the call graph for this function:

Here is the caller graph for this function:


Variable Documentation

size_t nSizErrmsg