summaryrefslogtreecommitdiffstats
path: root/lib/object.c
diff options
context:
space:
mode:
authorThomas Graf <tgraf@suug.ch>2011-03-21 23:40:26 (GMT)
committerThomas Graf <tgraf@suug.ch>2011-03-21 23:40:26 (GMT)
commitc1073d6172223be9837141da149c8876ce46884b (patch)
treeb1bfcc1f25a97337fd60aa0ef7052132b756be86 /lib/object.c
parent55f803c64df6f742a00dd45a24a3d51f87f6365b (diff)
downloadlibnl-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/object.c')
-rw-r--r--lib/object.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/object.c b/lib/object.c
index d881ac9..4a1b356 100644
--- a/lib/object.c
+++ b/lib/object.c
@@ -63,9 +63,11 @@ struct nl_object *nl_object_alloc(struct nl_object_ops *ops)
}
/**
- * Allocate a new object of kind specified by the name
+ * Allocate new object of kind specified by the name
* @arg kind name of object type
- * @return The new object or nULL
+ * @arg result Result pointer
+ *
+ * @return 0 on success or a negative error code.
*/
int nl_object_alloc_name(const char *kind, struct nl_object **result)
{