Functions deferred from initial implementation of Simple API in r1.20
Draft Release Note
ydb_delete_multi_s()
int ydb_delete_multi_s(int deltype,
int namecount,
ydb_buffer_t *varname,
int subs_used,
ydb_buffer_t *subsarray[, ...]);
namecount (>0) is the number of nodes specified in the call.
Deletes nodes in each of the local or global variable trees or
subtrees specified. A value of YDB_DEL_NODE or YDB_DEL_TREE
for deltype specifies whether to delete just the node at each
root, leaving (sub)trees intact, or to delete nodes as well as
(sub)trees.
Intrinsic special variables cannot be deleted.
ydb_delete_multi_s() returns YDB_OK or an error return code.
ydb_set_multi_s()
int ydb_set_multi_s(ydb_buffer_t *value,
int namecount,
ydb_buffer_t *varname,
int subs_used,
ydb_buffer_t *subsarray[, ...]);
Copies the value->len_used bytes at value->buf_addr as the
value of the specified nodes or intrinsic special variables specified,
returning YDB_OK or an error return code_. A NULL value
parameter is treated as equivalent to one that points to a
ydb_buffer_t specifying an empty string.
ydb_set_multi_s() returns YDB_OK or an error return code.
Final Release Note
Description
Functions deferred from initial implementation of Simple API in r1.20
Draft Release Note
ydb_delete_multi_s()
namecount
(>0) is the number of nodes specified in the call.Deletes nodes in each of the local or global variable trees or subtrees specified. A value of
YDB_DEL_NODE
orYDB_DEL_TREE
fordeltype
specifies whether to delete just the node at each root, leaving (sub)trees intact, or to delete nodes as well as (sub)trees.Intrinsic special variables cannot be deleted.
ydb_delete_multi_s()
returnsYDB_OK
or an error return code.ydb_set_multi_s()
Copies the
value->len_used
bytes atvalue->buf_addr
as the value of the specified nodes or intrinsic special variables specified, returningYDB_OK
or anerror return code
_. A NULLvalue
parameter is treated as equivalent to one that points to aydb_buffer_t
specifying an empty string.ydb_set_multi_s()
returnsYDB_OK
or an error return code.