acl/lib_acl/include/init/acl_init.h

43 lines
744 B
C
Raw Normal View History

#ifndef ACL_INIT_INCLUDE_H
2014-11-19 00:25:21 +08:00
#define ACL_INIT_INCLUDE_H
#ifdef __cplusplus
extern "C" {
#endif
2017-06-02 14:47:24 +08:00
#include "../stdlib/acl_define.h"
2014-11-19 00:25:21 +08:00
/**
* ACL库
2014-11-19 00:25:21 +08:00
*/
ACL_API void acl_lib_init(void);
2014-11-19 00:25:21 +08:00
/**
* ACL库
2014-11-19 00:25:21 +08:00
*/
ACL_API void acl_lib_end(void);
2014-11-19 00:25:21 +08:00
/**
* 使 poll select
* @param yesno {int} 0 使 poll
2014-11-19 00:25:21 +08:00
*/
ACL_API void acl_poll_prefered(int yesno);
/**
* acl
* @return {const char*} acl
2014-11-19 00:25:21 +08:00
*/
ACL_API const char *acl_version(void);
/**
* 线线
2014-11-19 00:25:21 +08:00
* @return {unsigned int}
*/
ACL_API unsigned long acl_main_thread_self(void);
#ifdef __cplusplus
}
#endif
#endif