SUBST: Dynamicaly generate contexts
authorWilfried Goesgens <dothebart@citadel.org>
Fri, 24 Aug 2012 10:37:43 +0000 (12:37 +0200)
committerWilfried Goesgens <dothebart@citadel.org>
Fri, 24 Aug 2012 10:37:43 +0000 (12:37 +0200)
commit5d38a76f8f06640e3a3f097d584ac52336110f7c
tree691cbd9d639077d7e1c0c74f754bb5fa2e6422f3
parent3326831584e637a75ba7bb33c4a8e9d0427e89d4
SUBST: Dynamicaly generate contexts

  - so far we needed to add contexts to subst.h + subst.c; Now we simply register new ones before registering tokens using them.
  - RegisterCTX is duplicate safe, so you can call it several times for the same context. That way you can make shure the context is there before registering handlers in several .c files.
19 files changed:
webcit/dav_main.c
webcit/downloads.c
webcit/ical_subst.c
webcit/messages.h
webcit/msg_renderers.c
webcit/netconf.c
webcit/notes.c
webcit/roomlist.c
webcit/roomops.h
webcit/roomtokens.c
webcit/roomviews.c
webcit/sieve.c
webcit/siteconfig.c
webcit/smtpqueue.c
webcit/subst.c
webcit/subst.h
webcit/useredit.c
webcit/vcard_edit.c
webcit/who.c