modfetch/include/mod.h
jacekpoz d24c1d3767
big refactor of pretty much everything
I still need to make the Makefile better as it's pretty shit right now
but it's alright for now I think
2024-02-11 23:23:50 +01:00

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