server/src/json.h
Enno Rehling fc1a56d46a rename export to json.
this may or may not have been a good idea, but for now, that is what I
choose.
2014-03-14 22:30:07 -07:00

13 lines
267 B
C

#pragma once
#ifndef ERESSEA_JSON_H
#define ERESSEA_JSON_H
#define EXPORT_REGIONS 1<<0
#define EXPORT_FACTIONS 1<<1
#define EXPORT_UNITS 1<<2
struct stream;
int json_export(struct stream * out, unsigned int flags);
int json_import(struct stream * out);
#endif