OSSP CVS Repository

ossp - History for /ossp-pkg/l2/l2_channel.c
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Directory]  [Show Milestones

DateVersion Description
2005-Oct-03 10:08    1.35    Check-in [5217]: Adjust copyright messages for new year 2005. By rse. (diff)
2005-Jan-24 16:03    1.34    Check-in [4979]: Adjust copyright messages for new year 2005. By rse. (diff)
2003-Nov-06 16:31    1.33    Check-in [3668]: fix PR#23: l2 does not terminate a message when it contains a newline By thl. (diff)
2003-Feb-13 16:37    1.32    Check-in [3250]: Remove NULL checks for va_list based variables because it is not portable to assume that va_list behaves like a pointer or other scalar type. Indeed it is a full structure on some platforms like FreeBSD/alpha. By rse. (diff)
2003-Jan-27 17:01    1.31    Check-in [3091]: fix iteration through non malloc(3)ed memory in l2_channel_destroy(). Bug caught on FreeBSD5 By thl. (diff)
2003-Jan-06 12:41    1.30    Check-in [3065]: - remove trailing whitespaces - adjust copyright messages - consistently use "OSSP l2" - consistently talk about "Flexible Logging" - use standard OSSP ASCII-art By rse. (diff)
2002-Jul-30 21:08    1.29    Check-in [2437]: polish for release By rse. (diff)
2002-Jul-24 11:36    1.28    Check-in [2333]: make sure the channel mask on each individual channel is also active By rse. (diff)
2002-Jan-02 18:07    1.27    Check-in [1492]: bump copyright year By rse. (diff)
2001-Nov-07 17:04    1.26    Check-in [1264]: do not re-init related links, because the parser else has no chance By rse. (diff)
2001-Nov-07 12:37    1.25    Check-in [1259]: More preparations for forthcoming channel tree specification parser (especially to allow the parser to determine the handler structure from a handler name without introducing another and this way redundant sub-API):

- add "char *name" to l2_handler_t in order to tag each handler structure with the corresponding channel name

- add l2_env_handler() function to add handler to l2_env_t objects. All l2_handler_xxxx are automatically pre-configured there after l2_env_create().

- change l2_channel_create() to take a "const char *name" (handler name) instead of the "l2_handler_t *h" (handler pointer) to make the stuff consistent and more clear.

- adjust l2_test.c to reflect the changes. By rse. (diff)

2001-Nov-06 16:02    1.24    Check-in [1257]: Change semantics of sibling linkage operations in order to fulfill the requirements in the forthcoming channel tree specification parser. By rse. (diff)
2001-Nov-04 14:55    1.23    Check-in [1251]: code cleanups By rse. (diff)
2001-Nov-04 14:21    1.22    Check-in [1248]: Channel-Only Revamping Step 2: - moved code of l2_stream.c into (new) l2_env.c and l2_channel.c - created new l2_env_t and l2_env_xxx() - changed l2_xx_create() functions to also return l2_result_t - moved error handling into l2_env_t - replaced l2_channel_stack() with two new and more flexible l2_channel_link() and l2_channel_unlink() functions - rewritten test stuff in l2_test.c to use new structure - added new l2_channel_env() function for retriving l2_env_t

Puhhh.... By rse. (diff)

2001-Nov-03 23:51    1.21    Check-in [1247]: Channel-Only Revamping Step 1: allow multiple downstream channels in order to approach the later tree-like channel-only structure. By rse. (diff)
2001-Sep-27 15:56    1.20    Check-in [1043]: document channel lifecycle By rse. (diff)
2001-Sep-24 17:36    1.19    Check-in [1032]: Provide convinient channel error handling functions. By rse. (diff)
2001-Sep-13 14:50    1.18    Check-in [980]: temporary bugfix By thl. (diff)
2001-Sep-12 11:42    1.17    Check-in [951]: Upgraded both stream and channel-level APIs to include new L2_LEVEL parameter design. By ms. (diff)
2001-Sep-06 16:37    1.16    Check-in [873]: Replace generic L2_ERROR with more granular L2_ERR_XXX and make sure that we always check with "!= L2_OK". By rse. (diff)
2001-Sep-05 21:58    1.15    Check-in [869]: Perform the channel state tagging immediately for a channel and not afterwards. Functionality-wise this is the same, but semantically it is more clean. By rse. (diff)
2001-Sep-05 15:56    1.14    Check-in [863]: Bugfix channel API: L2_OK -> NULL, states have to be remembered for all channels in a stack, not just the last found one. By rse. (diff)
2001-Sep-05 12:59    1.13    Check-in [858]: Bring into conformance with new l2_result_t channel handler return standard. By ms. (diff)
2001-Sep-04 17:41    1.12    Check-in [843]: Revamp channel handler API:

Instead of passing the downstream channel to all channels we instead provide a l2_channel_downstream() function and provide the current channel. This way the handler API is prototype-wise fully orthogonal with the channel API (which it implements) and we no longer pass information to 2/3 of our (output) channels which is of no use there.

Additionally add a channel type field to l2_handler_t which allows a handler to say what type of channel it implements (filter or output). This information is now used in l2_channel_stack() to make sure that one can only stack a filter channel on top of another channel. For convinience reasons there is also a new l2_channel_type() function which allows one to query the type of a particular channel. By rse. (diff)

2001-Sep-04 15:52    1.11    Check-in [835]: Wohhooooo! Here comes the underlying message formatting support:

1. renamed l2_channel_setparam() to l2_util_setparam() because it is just a utility function and is not tied to any channel.

2. moved l2_util_setparam() to its own l2_ut_param.c source file.

3. added l2_ut_format.c which contains a slightly adjusted version of Str's str_format() stuff under the name l2_util_format().

4. use l2_util_format() in l2_stream.c instead of vsnprintf() and this way finally support l2_formatter_t callbacks.

5. cleanup adjustments to the l2_stream_formatter() API.

Let's rock... By rse. (diff)

2001-Sep-03 15:43    1.10    Check-in [825]: - replace "int" with "l2_result_t" in L2 channel API - use a 2^n for L2_LEVEL_XXX in order to be able to create mask - remember loglevel for each channel - rewrite test suite By rse. (diff)
2001-Sep-03 13:50    1.9    Check-in [822]: remove useless assign By rse. (diff)
2001-Sep-02 17:35    1.8    Check-in [819]: When destroying a channel, erase its pointer to avoid a double-destruction mistake (possibly by both the channel and stream parent.) By ms. (diff)
2001-Sep-02 16:37    1.7    Check-in [815]: Revert to last version due to new design of l2_ch_socket_t. By ms. (diff)
2001-Aug-26 15:04    1.6    Check-in [770]: Added unsigned short type to PARAMETER macros for sockaddr_in struct. By ms. (diff)
2001-Aug-15 12:36    1.5    Check-in [675]: Fix more ossp.com references by replacing with the correct domain name ossp.org. By rse. (diff)
2001-May-24 11:40    1.4    Check-in [490]: o rename l2_error_t to l2_result_t o introduce internal channel state for API robustness By rse. (diff)
2001-May-22 22:00    1.3    Check-in [488]: Implement a first cut for a buffer channel (still untested). By rse. (diff)
2001-May-22 20:47    1.2    Check-in [485]: Simplify things by merging the parameter stuff into l2_channel.c and the l2_stream_t related things into l2_stream.c By rse. (diff)
2001-May-10 21:46    1.1    Check-in [449]: Initial revision By rse.
2001-May-10 21:46    1.1.1.1    Check-in [450]: L2 initial source tree By rse. (diff)

CVSTrac 2.0.1