#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 */