#ifndef XTLITE_H #define XTLITE_H #include "xtlite_types.h" #ifdef __cplusplus extern "C" { #endif #define XTLITE_VERSION_MAJOR 0 #define XTLITE_VERSION_MINOR 1 #define XTLITE_VERSION_PATCH 0 typedef struct xt_app xt_app; /* Creates an application context. On success, *out_app is caller-owned. */ xt_result xt_app_create(xt_app **out_app); /* Destroys an application context; NULL is accepted. */ void xt_app_destroy(xt_app *app); #ifdef __cplusplus } #endif #endif