diff options
author | Thomas Graf <tgraf@suug.ch> | 2011-03-21 23:40:26 (GMT) |
---|---|---|
committer | Thomas Graf <tgraf@suug.ch> | 2011-03-21 23:40:26 (GMT) |
commit | c1073d6172223be9837141da149c8876ce46884b (patch) | |
tree | b1bfcc1f25a97337fd60aa0ef7052132b756be86 /lib/cache_mngr.c | |
parent | 55f803c64df6f742a00dd45a24a3d51f87f6365b (diff) | |
download | libnl-c1073d6172223be9837141da149c8876ce46884b.zip libnl-c1073d6172223be9837141da149c8876ce46884b.tar.gz libnl-c1073d6172223be9837141da149c8876ce46884b.tar.bz2 |
Documentation updates
Mostly killing doxygen warnings, some doc updates to caching
Diffstat (limited to 'lib/cache_mngr.c')
-rw-r--r-- | lib/cache_mngr.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/cache_mngr.c b/lib/cache_mngr.c index 81052aa..cfa676b 100644 --- a/lib/cache_mngr.c +++ b/lib/cache_mngr.c @@ -143,8 +143,9 @@ found: * @arg sk Netlink socket. * @arg protocol Netlink Protocol this manager is used for * @arg flags Flags + * @arg result Result pointer * - * @return Newly allocated cache manager or NULL on failure. + * @return 0 on success or a negative error code. */ int nl_cache_mngr_alloc(struct nl_sock *sk, int protocol, int flags, struct nl_cache_mngr **result) @@ -196,6 +197,7 @@ errout: * @arg mngr Cache manager. * @arg name Name of cache to keep track of * @arg cb Function to be called upon changes. + * @arg data Argument passed on to change callback * @arg result Pointer to store added cache. * * Allocates a new cache of the specified type and adds it to the manager. |