2017-10-07 18:03:22 +02:00
|
|
|
#ifndef H_ORDERFILE
|
|
|
|
#define H_ORDERFILE
|
|
|
|
|
2018-09-28 20:50:24 +02:00
|
|
|
#include <stdio.h>
|
2017-10-07 18:03:22 +02:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2017-10-07 20:17:04 +02:00
|
|
|
typedef struct input {
|
|
|
|
const char *(*getbuf)(void *data);
|
|
|
|
void *data;
|
|
|
|
} input;
|
|
|
|
|
|
|
|
int read_orders(struct input *in);
|
2018-09-28 20:50:24 +02:00
|
|
|
int readorders(FILE *F);
|
2018-10-03 20:33:53 +02:00
|
|
|
int parseorders(FILE *F);
|
2017-10-07 18:03:22 +02:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
#endif
|