CONFDB_KEY_REPLACE - Online Linux Manual PageSection : 3
Updated : 2008-04-17
Source : corosync Man Page
Note : Corosync Cluster Engine Programmer's Manual
NAMEconfdb_key_replace − Replace a key/value pair from the Configuration Database
SYNOPSIS#include <corosync/confdb.h> confdb_error_t confdb_key_replace(confdb_handle_t handle, unsigned int parent_object_handle, void *key_name", int key_name_len , void *old_value , int old_value_len , void *new_value , int new_value_len );"
DESCRIPTIONThe confdb_key_replace function replaces the value of a key in the configuration database.
You must specify both the key name and its value, this is because keys are not unique in the database, so a value is not enough to uniqely identify a key belonging to a particular parent object. .BR Strictly, even give the key name and value is not enough to uniquely identify a key, If there are two (or more) keys with the same name and value, only the first will have its value changed .
RETURN VALUEThis call returns the CONFDB_OK value if successful, otherwise an error is returned.
ERRORSThe errors are undocumented.
SEE ALSOconfdb_overview(8), confdb_initialize(3), confdb_finalize(3), confdb_dispatch(3), confdb_object_create(3), confdb_object_destroy(3), confdb_object_parent_get(3), confdb_key_create(3), confdb_key_delete(3), confdb_key_get(3), confdb_key_replace(3), confdb_object_find_start(3), confdb_object_find(3), confdb_object_iter_start(3), confdb_object_iter(3), confdb_key_iter_start(3), confdb_key_iter(3), 0
Johanes Gumabo
Data Size : 6,712 byte
man-confdb_key_replace.3Build : 2024-12-05, 20:55 :
Visitor Screen : x
Visitor Counter ( page / site ) : 3 / 200,325
Visitor ID : :
Visitor IP : 3.149.242.223 :
Visitor Provider : AMAZON-02 :
Provider Position ( lat x lon ) : 39.962500 x -83.006100 : x
Provider Accuracy Radius ( km ) : 1000 :
Provider City : Columbus :
Provider Province : Ohio , : ,
Provider Country : United States :
Provider Continent : North America :
Visitor Recorder : Version :
Visitor Recorder : Library :
Online Linux Manual Page : Version : Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page : Library : lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page : Library : lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base : Version : Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base : Library : lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36
Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.
ERROR : Need New Coding : (rof_BR|3|confdb_key_replace.3|55|1|.BR
)