gobj_topic_links()
#
gobj_topic_links()
retrieves the links of a specified topic within a TreeDB instance.
Prototype
json_t *gobj_topic_links(
hgobj gobj,
const char *treedb_name,
const char *topic_name,
json_t *kw,
hgobj src
);
Parameters
Key |
Type |
Description |
---|---|---|
|
|
The GObj instance managing the TreeDB. |
|
|
The name of the TreeDB instance. |
|
|
The name of the topic whose links are to be retrieved. |
|
|
A JSON object containing additional query parameters. Owned by the caller. |
|
|
The source GObj requesting the operation. |
Return Value
A JSON object containing the topic links, or NULL
if an error occurs.
Notes
[‘If gobj
is NULL
or destroyed, an error is logged and NULL
is returned.’, ‘If the method mt_topic_links
is not defined in the GClass, an error is logged and NULL
is returned.’, ‘The returned JSON object must be decremented (json_decref()
) by the caller when no longer needed.’]
Prototype
// Not applicable in JS
Prototype
# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples