cache_mngr: document uncommon error codes
This commit is contained in:
parent
5f4d4d3bec
commit
653ea3457a
1 changed files with 5 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue