]> granicus.if.org Git - libnl/log
libnl
17 years agoExport interface to define caches
Thomas Graf [Mon, 17 Sep 2007 11:36:16 +0000 (13:36 +0200)]
Export interface to define caches

This interface was internal so far which required all code defining
caches to be compiled with the sources available.

In order to simplify the interface, the co_msg_parser prototype was
changed to take the struct nl_parser_param directly instead of a
void *. It used to be void * because the co_msg_parser was directly
passed as the NL_CB_VALID callback function.

17 years agoCheck for availability of request_update()
Thomas Graf [Mon, 17 Sep 2007 10:35:19 +0000 (12:35 +0200)]
Check for availability of request_update()

The implementation of this function is optional if a cache wishes to
be updated by notifications only.

17 years agoExport interface to define objects
Thomas Graf [Sat, 15 Sep 2007 17:55:38 +0000 (19:55 +0200)]
Export interface to define objects

This interface was internal so far which required all code defining
objects to be compiled with the sources available.

This change exposes struct nl_object_ops which seems safe as it
is not supposed to be embedded in other structures.

Patch contains extensive documentation to help with the creation
of own object implementations.

17 years agoAdd missing declarations for genlmsg_data() and genlmsg_len()
Thomas Graf [Sat, 15 Sep 2007 10:14:56 +0000 (12:14 +0200)]
Add missing declarations for genlmsg_data() and genlmsg_len()

17 years agoInitial import
Thomas Graf [Fri, 14 Sep 2007 23:28:01 +0000 (01:28 +0200)]
Initial import