comm_prot_get_gclass()
#
Retrieves the gclass name associated with a given communication protocol schema.
Prototype
PUBLIC gclass_name_t comm_prot_get_gclass(
const char *schema
);
Parameters
Key |
Type |
Description |
---|---|---|
|
|
The communication protocol schema to look up. |
Return Value
Returns the gclass name associated with the given schema. If the schema is not found, logs an error and returns NULL.
Notes
This function searches the registered communication protocols and returns the corresponding gclass name. If the schema is not found, an error is logged.
Prototype
// Not applicable in JS
Prototype
# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples