/* * Created by yuuta on 7/13/22. */ #ifndef LIBAC_LIBAC_H #define LIBAC_LIBAC_H #include "incl.h" #include "common.h" #include "events.h" #include "net.h" #include "requests.h" #include "ids.h" #include #include typedef struct libac_config { FILE *out; json_tokener *tok; } libac_config_t; /** * Initialize libac for the calling thread. * @return AC_E_OK on success. */ LIBAC_EXPORT int ac_init(const libac_config_t *config); /** * Destroy libac configuration for the calling thread. * @return AC_E_OK on success. */ LIBAC_EXPORT int ac_free(void); #endif /* LIBAC_LIBAC_H */