Fork 0
Commit Graph

21 Commits (54d7b4677482942b0084bbb8c9bd91faf0798e97)

Author SHA1 Message Date
Stefan Bühler a1fbaab86b [core/modules] refactor config handling
* should be more robust now: taking list of wanted value, handling NULL
   pointers instead of value type NONE, fixed some bugs (wrong checks,
   mem leaks, ...)
 * add many methods to make handling of values easier; most methods
   can handle NULL value pointers safely (li_value_type(v) instead of
   v->type and so on)
2013-09-06 14:36:55 +02:00
Stefan Bühler 061b2a4262 [core] handle differences between options/actions/setups in plugin.c 2013-08-22 18:02:50 +02:00
Stefan Bühler a937bd437a fix missing li prefixes 2013-05-23 17:56:24 +02:00
Stefan Bühler 0d85a068c8 [lua] add per lua_State lock 2013-05-04 13:11:25 +02:00
Stefan Bühler c2271c15c3 Add plugin init-lua hook 2010-05-14 13:10:19 +02:00
Stefan Bühler a8efcfcc0e modify plugin api to include worker context for action/option parsing; add per-worker callback for stop_worker
* create main_worker earlier
2010-05-07 20:54:50 +02:00
Stefan Bühler 905a83fc77 Add plugin hooks for server state machine changes 2010-02-13 15:41:09 +01:00
Stefan Bühler 30ebce774e Add "state-wait" api for server state machine 2010-02-13 15:29:21 +01:00
Stefan Bühler 5284ce9cb4 Fix option handling: need another opt_base_index for pointer options 2010-01-27 17:38:27 +01:00
Stefan Bühler f14103bc2c Split options into two categories: simple (int, bool) and ref-counted pointers 2010-01-24 23:00:51 +01:00
Stefan Bühler 64ba5fddce Cleanup value pointer extractions 2010-01-24 23:00:48 +01:00
Stefan Bühler fe7ddede88 Add lua plugins 2009-12-21 19:09:55 +01:00
Stefan Bühler b4c3e2ba02 Add userdata to action-create, setup and plugin-init callbacks 2009-12-21 12:29:14 +01:00
Stefan Bühler 56ff7ca32a angel/lighty now synchronize the server state 2009-08-30 20:43:13 +02:00
Stefan Bühler eeddb37e4a Add plugin angel callbacks 2009-08-30 19:25:01 +02:00
Stefan Bühler 282a2d1b4a Prefix LI_API functions with "li_" 2009-07-09 22:17:24 +02:00
Stefan Bühler 99b203e3d8 Prefix typenames, enums and some macros with "li" and "LI_"; CamelCase TypeNames 2009-07-08 21:06:07 +02:00
Stefan Bühler c458377d4a Added mod_fastcgi, some api functions for it, and some new optional compiler warnings (which led to many small changes) 2009-01-01 16:44:42 +01:00
Stefan Bühler c24704dad5 Move options from connection to vrequest 2008-12-30 01:21:03 +01:00
Thomas Porzelt 6dbaaf5430 fix warnings about shadowed declarations of 'free' and 'value' in headers 2008-11-18 21:43:02 +01:00
Stefan Bühler 3dceeb5916 Move include files into a separate directory and cleanup include order 2008-11-16 21:33:53 +01:00