* add more module handlers:
authorWilfried Göesgens <willi@citadel.org>
Sun, 10 May 2009 18:05:56 +0000 (18:05 +0000)
committerWilfried Göesgens <willi@citadel.org>
Sun, 10 May 2009 18:05:56 +0000 (18:05 +0000)
commit27e6a22f021cffe2cee1a41accbf9d2f78b20dab
tree0ffec4248bdc1927788c937907425b713e0b0a92
parent9e2dd6c9c9ba337755ba58f0bbbce271ef14545b
* add more module handlers:
  * start (alloc structures here; don't depend on others...)
  * init (fill your structs, register with others...)
  * shutdown (free your static structs etc.

  * Session New: for allocation etc.
  * Session Attach: on each request before it gets hot.
  * Session Detach: clean up your session local stuff
  * Session Destroy: the user is gone; flush your memory.

* more news: WC is set before the SessionNew; so you can use WC there.

* shuffled some more stuff arround:
  * i/o related stuff
  * directory calculation
  * local css detection is now part of the start handler...
  * all creates/frees of structures that can be done in the above handrlers is done there now.
16 files changed:
webcit/auth.c
webcit/context_loop.c
webcit/gettext.c
webcit/ical_subst.c
webcit/iconbar.c
webcit/messages.c
webcit/mk_module_init.sh
webcit/msg_renderers.c
webcit/paramhandling.c
webcit/preferences.c
webcit/siteconfig.c
webcit/subst.c
webcit/tcp_sockets.c
webcit/webcit.c
webcit/webcit.h
webcit/webserver.c