server/src/util/resolve.h
2019-09-13 21:35:44 +02:00

20 lines
349 B
C

#ifndef RESOLVE_H
#define RESOLVE_H
struct storage;
struct gamedata;
#ifdef __cplusplus
extern "C" {
#endif
typedef void *(*resolve_fun) (int id, void *data);
typedef int(*read_fun) (struct gamedata * data);
void ur_add(int id, void **addr, resolve_fun fun);
void resolve(int id, void *data);
#ifdef __cplusplus
}
#endif
#endif