modfetch/mod.h

21 lines
344 B
C

#ifndef _MODFETCH_MOD_H
#define _MODFETCH_MOD_H
#include "semver.h"
#include <stdint.h>
static const semver API_VERSION = {
.major = 0,
.minor = 1,
.patch = 0,
};
static const uint8_t MFERR_APIVER = 1;
semver version(void);
const char *name(void);
uint8_t init(char **config);
const char *get(void);
#endif // _MODFETCH_MOD_H