server/src/util/resolve.h

21 lines
349 B
C
Raw Normal View History

2010-08-08 10:06:34 +02:00
#ifndef RESOLVE_H
#define RESOLVE_H
struct storage;
2016-02-13 20:43:40 +01:00
struct gamedata;
2010-08-08 10:06:34 +02:00
#ifdef __cplusplus
extern "C" {
#endif
2017-09-21 16:26:53 +02:00
typedef void *(*resolve_fun) (int id, void *data);
typedef int(*read_fun) (struct gamedata * data);
2010-08-08 10:06:34 +02:00
2017-09-21 16:26:53 +02:00
void ur_add(int id, void **addr, resolve_fun fun);
void resolve(int id, void *data);
2010-08-08 10:06:34 +02:00
#ifdef __cplusplus
}
#endif
#endif