modfetch/mod.h

21 lines
360 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