diff options
author | Thomas Graf <tgraf@redhat.com> | 2012-04-21 09:59:26 +0200 |
---|---|---|
committer | Thomas Graf <tgraf@redhat.com> | 2012-04-21 09:59:26 +0200 |
commit | 653ea3457a2d6d74aa0ba877d7b0e1cd6309fb40 (patch) | |
tree | ded86e2c08840aa865d2f576fc6791b17b08c854 | |
parent | 5f4d4d3bec7b9fc9a030f5a27f9cb0cd14ac73fd (diff) | |
download | libnl-653ea3457a2d6d74aa0ba877d7b0e1cd6309fb40.tar.gz |
cache_mngr: document uncommon error codes
-rw-r--r-- | lib/cache_mngr.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/cache_mngr.c b/lib/cache_mngr.c index 0be55bc..3c0e024 100644 --- a/lib/cache_mngr.c +++ b/lib/cache_mngr.c @@ -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) |