General (miscellaneous) library API. More...
Functions | |
| ATO_BNET_EXPORT const char * | ato_bnet_version (void) |
| Return the version of the BNET library. More... | |
| ATO_BNET_EXPORT bool | ato_bnet_isinited (void) |
| Returns whether or not the library is initialised. More... | |
| ATO_BNET_EXPORT int | ato_bnet_init (ato_Ctx *ctx, unsigned short flag) |
| Initialise the SDK. More... | |
| ATO_BNET_EXPORT void | ato_bnet_deinit (void) |
| Deinitialise the SDK. More... | |
General (miscellaneous) library API.
| ATO_BNET_EXPORT const char * ato_bnet_version | ( | void | ) |
Return the version of the BNET library.
| ATO_BNET_EXPORT bool ato_bnet_isinited | ( | void | ) |
Returns whether or not the library is initialised.
| ATO_BNET_EXPORT int ato_bnet_init | ( | ato_Ctx * | ctx, |
| unsigned short | flag | ||
| ) |
Initialise the SDK.
This must be called at application startup prior to any threads being started.
ato_base_init() must be called first.
| ctx | the current thread local Context. |
| flag | used to control the initialisation process - use ATO_BNET_INIT_ALL unless advised otherwise. |
| ATO_BNET_EXPORT void ato_bnet_deinit | ( | void | ) |
Deinitialise the SDK.
This must be called at application shutdown after threads are finished and any allocated objects freed.
ato_base_deinit() should be called after all other deinitialisation routines are called.