jacekpoz
d24c1d3767
I still need to make the Makefile better as it's pretty shit right now but it's alright for now I think
22 lines
361 B
C
22 lines
361 B
C
#ifndef _MODFETCH_MOD_H
|
|
#define _MODFETCH_MOD_H
|
|
|
|
#include <semver.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
static const semver API_VERSION = {
|
|
.major = 0,
|
|
.minor = 2,
|
|
.patch = 0,
|
|
};
|
|
|
|
static const uint8_t MFERR_APIVER = 1;
|
|
|
|
semver version(void);
|
|
const char *name(void);
|
|
|
|
uint8_t init(semver api_ver, char **config);
|
|
const char *get(void);
|
|
|
|
#endif // _MODFETCH_MOD_H
|