#ifndef STATUS_API_H #define STATUS_API_H #include static const char STATUS_API_KEY[]="status"; static const int STATUS_API_REV=1; inline STATUS_API *status_api_init(const char *client) { return (STATUS_API*)module_get_api (STATUS_API_KEY,STATUS_API_REV ,client); } inline void status_api_end(STATUS_API *api) { module_release_api (STATUS_API_KEY,(void*)api); } inline bool status_api_available(const char *client) { return module_api_available (STATUS_API_KEY,STATUS_API_REV,client); } #endif