Go to the source code of this file.
Functions | |
void | sbgInterfaceNameSet (SbgInterface *pInterface, const char *pName) |
const char * | sbgInterfaceTypeGetAsString (const SbgInterface *pInterface) |
void | sbgInterfaceZeroInit (SbgInterface *pHandle) |
Variables | |
static const char * | gInterfaceType [] |
void sbgInterfaceNameSet | ( | SbgInterface * | pInterface, |
const char * | pName | ||
) |
Define the interface name as a NULL terminated C string.
This method make sure that the provided string will always fit within the allocated name buffer.
If the interface name you would like to set is too long, only the end of the string will be kept.
[in] | pInterface | Interface instance |
[in] | pName | The interface name to set as a NULL terminated C string |
Definition at line 61 of file sbgInterface.c.
const char* sbgInterfaceTypeGetAsString | ( | const SbgInterface * | pInterface | ) |
Returns the interface as string.
[in] | pInterface | Interface instance |
Definition at line 46 of file sbgInterface.c.
void sbgInterfaceZeroInit | ( | SbgInterface * | pHandle | ) |
Initialize an interface instance to zero.
[in] | pHandle | Handle on an allocated interface to initialize to zero. |
Definition at line 24 of file sbgInterface.c.
|
static |
Definition at line 11 of file sbgInterface.c.