acl/lib_acl/include/init/acl_init.h

48 lines
835 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
/**
* <EFBFBD><EFBFBD>ʼ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ACL<EFBFBD><EFBFBD>
2014-11-19 00:25:21 +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>
2014-11-19 00:25:21 +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
2014-11-19 00:25:21 +08:00
*/
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>Ϣ
2014-11-19 00:25:21 +08:00
*/
ACL_API const char *acl_version(void);
2021-06-21 09:36:15 +08:00
/**
* <EFBFBD><EFBFBD><EFBFBD>õ<EFBFBD>ǰ acl <EFBFBD><EFBFBD><EFBFBD>߱<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
* @return {const char*} <EFBFBD><EFBFBD><EFBFBD>طǿ<EFBFBD><EFBFBD>ַ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ú<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>̰߳<EFBFBD>ȫ<EFBFBD><EFBFBD>
*/
ACL_API const char *acl_verbose(void);
2014-11-19 00:25:21 +08:00
/**
* <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>̵߳<EFBFBD><EFBFBD>̺߳<EFBFBD>
2014-11-19 00:25:21 +08:00
* @return {unsigned int}
*/
ACL_API unsigned long acl_main_thread_self(void);
#ifdef __cplusplus
}
#endif
#endif