silc_list_init
SYNOPSIS
#define silc_list_init(list, type, nextfield) ...
DESCRIPTION
This macro initializes the SilcList list. The `list' is the defined list, second argument is the structure of the entries in the list, and last argument is the pointer in the structure that is used as next list members. When using SilcList you must not touch the structure member pointers manually. If your list has also a prev pointer should use silc_list_init_prev instead of this call if you need to be able traverse the list backwards as well.
EXAMPLE
struct SilcInternalEntryStruct { char *dummy; struct SilcInternalEntryStruct *next; // The list member pointer }; SilcList list; silc_list_init(list, struct SilcInternalEntryStruct, next);