Utility and error-handling

Some helper functions. More...


Detailed Description

Some helper functions.

Functions

PLAYERC_EXPORT const char * playerc_error_str (void)
 Retrieve the last error (as a descriptive string).
PLAYERC_EXPORT int playerc_add_xdr_ftable (playerxdr_function_t *flist, int replace)
 Get the name for a given interface code.

Function Documentation

PLAYERC_EXPORT int playerc_add_xdr_ftable ( playerxdr_function_t *  flist,
int  replace 
)

Get the name for a given interface code.

Get the interface code for a given name. Add new entries to the XDR function table.

PLAYERC_EXPORT 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.