gobj_find_gclass_service()
#
Finds a service gobj by its gclass name. Returns a handle to the service gobj if found, otherwise returns NULL.
Prototype
hgobj gobj_find_gclass_service(
const char *gclass_name,
BOOL verbose
);
Parameters
Key |
Type |
Description |
---|---|---|
|
|
The name of the gclass to search for. |
|
|
If TRUE, logs an error message when the service is not found. |
Return Value
Returns a handle to the service gobj if found, otherwise returns NULL.
Notes
This function searches for a service gobj that matches the given gclass name. If verbose
is set to TRUE and the service is not found, an error message is logged.
Prototype
// Not applicable in JS
Prototype
# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples