15 lines
292 B
C

#ifndef PLUGIN_H
#define PLUGIN_H
#include <stdint.h>
#define PLUGIN_ABI 4u
typedef struct {
unsigned abi;
unsigned identity;
int gain;
int offset;
int64_t (*convert)(int64_t);
} Plugin;
typedef const Plugin *(*PluginEntry)(void);
const Plugin *plugin_entry(void);
#endif