Utility and error-handling
[libplayerc]
Some helper functions.
More...
Functions | |
const char * | playerc_error_str (void) |
Retrieve the last error (as a descriptive string). | |
const char * | playerc_lookup_name (int code) |
Get the name for a given interface code. | |
int | playerc_lookup_code (const char *name) |
Get the interface code for a given name. |
Detailed Description
Some helper functions.Function Documentation
const char* playerc_error_str | ( | void | ) |
Retrieve the last error (as a descriptive string).
Most functions in will return 0 on success and non-zero value on error; a descriptive error message can be obtained by calling this function.
int playerc_lookup_code | ( | const char * | name | ) |
Get the interface code for a given name.
const char* playerc_lookup_name | ( | int | code | ) |