2014-11-19 00:25:21 +08:00
|
|
|
|
#ifndef ACL_INIT_INCLUDE_H
|
|
|
|
|
#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
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* <EFBFBD><EFBFBD>ʼ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ACL<EFBFBD><EFBFBD>
|
|
|
|
|
*/
|
2016-10-25 10:31:33 +08:00
|
|
|
|
ACL_API void acl_lib_init(void);
|
2014-11-19 00:25:21 +08:00
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ACL<EFBFBD><EFBFBD>
|
|
|
|
|
*/
|
2016-10-25 10:31:33 +08:00
|
|
|
|
ACL_API void acl_lib_end(void);
|
2014-11-19 00:25:21 +08:00
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* <EFBFBD>Ƿ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʹ<EFBFBD><EFBFBD> poll <EFBFBD><EFBFBD><EFBFBD><EFBFBD> select
|
|
|
|
|
* @param yesno {int} <EFBFBD><EFBFBD> 0 ʱ<EFBFBD><EFBFBD>ʾ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʹ<EFBFBD><EFBFBD> poll
|
|
|
|
|
*/
|
|
|
|
|
ACL_API void acl_poll_prefered(int yesno);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* <EFBFBD><EFBFBD><EFBFBD>õ<EFBFBD>ǰ acl <EFBFBD><EFBFBD><EFBFBD>İ汾<EFBFBD><EFBFBD>Ϣ
|
|
|
|
|
* @return {const char*} <EFBFBD><EFBFBD>ǰ acl <EFBFBD><EFBFBD><EFBFBD>汾<EFBFBD><EFBFBD>Ϣ
|
|
|
|
|
*/
|
|
|
|
|
ACL_API const char *acl_version(void);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>̵߳<EFBFBD><EFBFBD>̺߳<EFBFBD>
|
|
|
|
|
* @return {unsigned int}
|
|
|
|
|
*/
|
|
|
|
|
ACL_API unsigned long acl_main_thread_self(void);
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
#endif
|