]> git.ipfire.org Git - thirdparty/libnl.git/commitdiff
cache_mngr: document uncommon error codes
authorThomas Graf <tgraf@redhat.com>
Sat, 21 Apr 2012 07:59:26 +0000 (09:59 +0200)
committerThomas Graf <tgraf@redhat.com>
Sat, 21 Apr 2012 07:59:26 +0000 (09:59 +0200)
lib/cache_mngr.c

index 0be55bc649b1f017ae6fb60f3f0a46a20d19772c..3c0e0245777c6f1c3759747b2d6349d72f1d40cb 100644 (file)
@@ -213,6 +213,11 @@ errout:
  * changes.
  *
  * @return 0 on success or a negative error code.
+ * @return -NLE_NOCACHE Unknown cache type
+ * @return -NLE_PROTO_MISMATCH Protocol mismatch between cache manager and
+ *                            cache type
+ * @return -NLE_OPNOTSUPP Cache type does not support updates
+ * @return -NLE_EXIST Cache of this type already being managed
  */
 int nl_cache_mngr_add(struct nl_cache_mngr *mngr, const char *name,
                      change_func_t cb, void *data, struct nl_cache **result)