+Tue Jul 3 22:45:56 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
+
+ * Added concept of child stacks to SilcStack, allowing to create
+ true memory pools using SilcStack. It is now possible to
+ create childs from the parent, without consuming the parent's
+ memory. The child's memory is returned back to parent when
+ it is freed. Affected files are lib/silcutil/silcstack.[ch],
+ silcstack_i.h.
+
+ * Added user specified SilcStack support to SILC ASN.1 API.
+ Affected files are lib/silcasn1/silcasn1.[ch].
+
+Tue Jul 3 18:17:54 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
+
+ * Added SILC DLL API for loading and using shared objects and
+ DLLs. Affected files are lib/silcutil/sildll.[ch]. Added
+ also test program lib/silcutil/tests/test_silcdll.c.
+
+ * Added SILC Environment manipulation API to
+ lib/silcutil/silcenv.[ch] and test program to
+ lib/silcutil/tests/test_silcenv.c.
+
+ * Renamed silc_hash_table_replace to silc_hash_table_set.
+ Added SilcStack support to SilcHashTable. Affected files are
+ lib/silcutil/silchashtable.[ch].
+
+ * Added SilcStack support to SilcDList. Added new function
+ silc_dlist_sinit. Affected file is lib/silcutil/silcdlist.h.
+
Mon Jul 2 21:07:34 EEST 2007 Pekka Riikonen <priikone@silcnet.org>
* Removed unaligned memory allocation from SilcStack. Moved
o Fix universal time decoding (doesn't accept all formats) in silctime.c.
- o Add functions to manipulate environment variables.
-
- SilcBool silc_setenv(const char *variable, const char *value);
- const char *silc_getenv(const char *variable);
- SilcBool silc_clearenv(const char *variable);
+ o Add functions to manipulate environment variables. (***DONE)
o Add functions to loading shared/dynamic object symbols (replaces the
SIM library (lib/silcsim) and introduces generic library). Add this
- to lib/silcutil/silcdll.[ch].
-
- SilcDll silc_dll_load(const char *object_path, SilcDllFlags flags);
- void silc_dll_close(SilcDll dll);
- void *silc_dll_getsym(SilcDll dll, const char *symbol);
- const char *silc_dll_error(SilcDll dll);
+ to lib/silcutil/silcdll.[ch]. (***TESTING NEEDED WIN32, TODO Symbian)
o Add directory opening/traversing functions
o silc_stringprep to non-allocating version.
o silc_hash_table_replace -> silc_hash_table_set. Retain support for
- silc_hash_table_replace as macro.
+ silc_hash_table_replace as macro. (***DONE)
- o SilcStack aware SilcHashTable.
+ o SilcStack aware SilcHashTable. (***DONE)
- o SilcStack aware SilcDList.
+ o SilcStack aware SilcDList. (***DONE)
o Thread pool API. Add this to lib/silcutil/silcthread.[ch]. (***DONE)
AC_CHECK_FUNCS(getpid getgid getsid getpgid getpgrp getuid sched_yield)
AC_CHECK_FUNCS(setgroups initgroups nl_langinfo nanosleep)
AC_CHECK_FUNCS(strchr snprintf strstr strcpy strncpy memcpy memset memmove)
+AC_CHECK_FUNCS(setenv getenv putenv unsetenv clearenv)
# lib/contrib conditionals
#
AC_CHECK_LIB(dl, dlopen,
[
AC_DEFINE([SILC_SIM], [], [HAVE_SIM])
+ AC_DEFINE([HAVE_DLOPEN], [], [HAVE_DLOPEN])
sim_support=true
LIBS="$LIBS -ldl"
],
AC_CHECK_LIB(c, dlopen,
[
AC_DEFINE([SILC_SIM], [], [HAVE_SIM])
+ AC_DEFINE([HAVE_DLOPEN], [], [HAVE_DLOPEN])
sim_support=true
])
])
#include "silcversion.h"
/* SILC util library includes */
+#include "silclist.h"
#include "silcstack.h"
#include "silcmemory.h"
#include "silcsnprintf.h"
#include "silcpkcs1.h"
/* More SILC util library includes */
+#include "silcenv.h"
+#include "silcdll.h"
#include "silchashtable.h"
-#include "silclist.h"
#include "silcdlist.h"
#include "silcasync.h"
#include "silcstream.h"