blob: 746f1025ae7191b7a511234c3c0a71728735522b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
  | 
#include <stdarg.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdlib.h>
/**
 * Represents a all in one instance
 */
typedef struct AllInOneInstance AllInOneInstance;
void set_error_handler(void (*func)(int, char*));
/**
 * Loads the config json using the nova shared config loader
 */
char *load_config(void);
void stop_instance(struct AllInOneInstance *instance);
/**
 * # Panics
 * Panics if an incorrect `RUST_LOG` variables is specified.
 */
struct AllInOneInstance *create_instance(char *config);
  |