Typedef anj_open_external_data_t
Defined in File defs.h
Typedef Documentation
-
typedef int anj_open_external_data_t(void *user_args)
Callback to initialize the external data source.
Invoked once before the first call to anj_get_external_data_t. Can be used to open files, initialize peripherals, or allocate state.
- Param user_args:
Application-defined pointer.
- Return:
0 on success,
a negative value if initialization failed (in which case anj_close_external_data_t will not be called).