Utility and error-handling
[libplayerc]
Detailed Description
Some helper functions.
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. | |
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 | ) |
