mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-02-10 21:21:09 +00:00
25 lines
487 B
C
25 lines
487 B
C
#include <stdarg.h>
|
|
#include <stdbool.h>
|
|
#include <stdint.h>
|
|
#include <stdlib.h>
|
|
|
|
typedef struct Fns {
|
|
void (*noArgs)(void);
|
|
void (*anonymousArg)(int32_t);
|
|
int32_t (*returnsNumber)(void);
|
|
int8_t (*namedArgs)(int32_t first, int16_t snd);
|
|
int8_t (*namedArgsWildcards)(int32_t _, int16_t named, int64_t _1);
|
|
} Fns;
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif // __cplusplus
|
|
|
|
void root(struct Fns _fns);
|
|
|
|
void no_return(void);
|
|
|
|
#ifdef __cplusplus
|
|
} // extern "C"
|
|
#endif // __cplusplus
|