aboutsummaryrefslogtreecommitdiff
path: root/client/libacron/private/config.h
blob: df907a052e42805c5e9cfbe9adf9c1c2d79f2c76 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*
 * Created by yuuta on 7/19/22.
 */

#ifndef LIBAC_CONFIG_H
#define LIBAC_CONFIG_H

#include "win32.h"
#include "libac.h"

#include <json_tokener.h>
#include <stdio.h>

extern _Thread_local struct libac_config *config;

#define AC_CHECK_INIT do { if (!config) return AC_E_NOT_INITIALIZED; } while(0)

#endif /* LIBAC_CONFIG_H */