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);
|
2017-09-19 11:42:02 +02:00
|
|
|
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
|