mirror of
https://gitee.com/acl-dev/acl.git
synced 2024-12-14 17:00:52 +08:00
43 lines
643 B
C
43 lines
643 B
C
|
#ifndef __ACL_INIT_INCLUDE_H__
|
|||
|
#define __ACL_INIT_INCLUDE_H__
|
|||
|
|
|||
|
#ifdef __cplusplus
|
|||
|
extern "C" {
|
|||
|
#endif
|
|||
|
|
|||
|
#include "stdlib/acl_define.h"
|
|||
|
|
|||
|
/**
|
|||
|
* <EFBFBD><EFBFBD>ʼ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ACL<EFBFBD><EFBFBD>
|
|||
|
*/
|
|||
|
ACL_API void acl_init(void);
|
|||
|
|
|||
|
/**
|
|||
|
* <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ACL<EFBFBD><EFBFBD>
|
|||
|
*/
|
|||
|
ACL_API void acl_end(void);
|
|||
|
|
|||
|
/**
|
|||
|
* <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
|