OSSP CVS Repository

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

DateVersion Description
2005-Oct-03 10:08    1.13    Check-in [5217]: Adjust copyright messages for new year 2005. By rse. (diff)
2005-Jan-24 16:03    1.12    Check-in [4979]: Adjust copyright messages for new year 2005. By rse. (diff)
2003-Feb-13 16:37    1.11    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-06 12:41    1.10    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.9    Check-in [2437]: polish for release By rse. (diff)
2002-Jul-29 19:42    1.8    Check-in [2421]: allow hexadecimal and octal integer values, too. (especially for file permissions) By rse. (diff)
2002-Jan-02 18:07    1.7    Check-in [1492]: bump copyright year By rse. (diff)
2001-Nov-07 14:05    1.6    Check-in [1260]: Hell, I've seldom seen that it is needed to prepare and adjust such a lot of subtle details of existing code in order to make a new feature implementable in a straight-forward way. Anyway, here comes one more preparation change for the forthcoming channel tree specification parser:

- change l2_util_setparam() to take an l2_env_t parameter which allows the function to report better error messages.

- completely rewrite l2_util_setparam() to support calls l2_channel_configure(ch, "n1=v1,n2=v2,n3=v3") and/or l2_channel_configure(ch, "n1=%x,n2=%x,n3=%x", v1, v2, v3) instead of l2_channel_configure(ch, "n1,n2,n3", v1, v2, v3)

  This is both a step forward to make the interface of
  l2_channel_configure() more flexible (because one now can directly
  inline values instead of having them to be passed explicitly) and
  allows the spec parser not having to know the type (integer, floating
  point or string) of a parameter (which is important if one wants the
  parser to be independent of the implementing channel handlers).
 By rse. (diff)
2001-Sep-09 00:06    1.5    Check-in [895]: fix memory leak for string parameters By rse. (diff)
2001-Sep-06 16:37    1.4    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 15:34    1.3    Check-in [862]: fix L2_TYPE_STRING: argument can be NULL By rse. (diff)
2001-Sep-05 09:41    1.2    Check-in [851]: Provide an L2_TYPE_STRING for the channel configuration steps. This is like L2_TYPE_CHARPTR but treats the target as a NUL-terminated string and performs a strdup() on it. This make the channels simpler, because they no longer have to post-process the configuration step in order to make own copies of provided strings. By rse. (diff)
2001-Sep-04 15:52    1.1    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.

CVSTrac 2.0.1