blob: b8b713b6bb5c3ca377224702e74e600962343abd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#ifndef _XAS_OBJECT_H
#define _XAS_OBJECT_H
typedef struct _xas_object xas_object;
typedef int (*xas_object_start_callback)(xas_object *object);
typedef int (*xas_object_stop_callback)(xas_object *object);
struct _xas_object {
xas_object_start_callback start;
xas_object_stop_callback stop;
};
int xas_object_start(xas_object *object);
int xas_object_stop(xas_object *object);
#endif /* _XAS_OBJECT_H */
|