server/src/orderfile.h
2018-12-15 18:15:39 +01:00

21 lines
310 B
C

#ifndef H_ORDERFILE
#define H_ORDERFILE
#include <stdio.h>
#ifdef __cplusplus
extern "C" {
#endif
typedef struct input {
const char *(*getbuf)(void *data);
void *data;
} input;
int read_orders(struct input *in);
int parseorders(FILE *F);
#ifdef __cplusplus
}
#endif
#endif