gobj_service_register()

gobj_service_register()#

Retrieves a list of registered services, returning an array of JSON objects containing the gclass and service name.

Prototype

json_t *gobj_service_register(void);

Parameters

Key

Type

Description

-

-

This function does not take any parameters.


Return Value

A JSON array where each element is an object with ‘gclass’ and ‘service’ fields representing registered services.

Notes

The returned JSON object must be freed by the caller using json_decref().

Prototype

// Not applicable in JS

Prototype

# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples