1CONFDB_KEY_DELETE(3C)orosync Cluster Engine Programmer's ManuCaOlNFDB_KEY_DELETE(3)
2
3
4

NAME

6       confdb_key_delete  -  Delete  a  key/value  pair from the Configuration
7       Database
8

SYNOPSIS

10       #include <corosync/confdb.h>
11
12       confdb_error_t  confdb_key_delete(confdb_handle_t  handle,  unsignedint
13       parent_object_handle  , void *key_name , int key_name_len , void *value
14       , int value_len );
15
16

DESCRIPTION

18       The confdb_key_delete function removes a key/value pair from  the  con‐
19       figuration database.
20       You  must specify both the key name and its value, this is because keys
21       are not unique in the database, so a value is  not  enough  to  uniqely
22       identify  a  key  belonging  to a particular parent object.   Strictly,
23       even give the key name and value is not enough to uniquely  identify  a
24       key, If there are two (or more) keys with the same name and value, only
25       the first will be deleted.
26

RETURN VALUE

28       This call returns the CONFDB_OK value if successful, otherwise an error
29       is returned.
30

ERRORS

32       The errors are undocumented.
33

SEE ALSO

35       confdb_overview(8),      confdb_initialize(3),      confdb_finalize(3),
36       confdb_dispatch(3), confdb_object_create(3),  confdb_object_destroy(3),
37       confdb_object_parent_get(3),                      confdb_key_create(3),
38       confdb_key_delete(3),     confdb_key_get(3),     confdb_key_replace(3),
39       confdb_object_find_start(3),                     confdb_object_find(3),
40       confdb_object_iter_start(3),                     confdb_object_iter(3),
41       confdb_key_iter_start(3), confdb_key_iter(3),
42
43corosync Man Page                 2008-04-17              CONFDB_KEY_DELETE(3)
Impressum