struct JUNO_APP_ROOT_TAG JUNO_APP_ROOT_T
The application module.
Definition app_api.h:50
#define JUNO_MODULE_EMPTY
Helper for module definitions with no additional members.
Definition module.h:86
#define JUNO_MODULE_ROOT(API_T,...)
Implement a module root struct containing ptApi and failure fields.
Definition module.h:126
int32_t JUNO_STATUS_T
Canonical status type for LibJuno functions.
Definition status.h:49
Module system and dependency injection primitives for LibJuno.
Status codes and failure-handling helpers for LibJuno.
JUNO_STATUS_T(* OnStart)(JUNO_APP_ROOT_T *ptJunoApp)
Called once to initialize resources before processing.
Definition app_api.h:57
JUNO_STATUS_T(* OnProcess)(JUNO_APP_ROOT_T *ptJunoApp)
Main processing routine; may be invoked repeatedly.
Definition app_api.h:59
JUNO_STATUS_T(* OnExit)(JUNO_APP_ROOT_T *ptJunoApp)
Called once prior to shutdown to release resources.
Definition app_api.h:61