mirror of
https://gitee.com/acl-dev/acl.git
synced 2024-11-30 10:57:34 +08:00
9697f95b8f
This reverts commit 15d999759e
.
25 lines
544 B
C
25 lines
544 B
C
#ifndef ACL_YQUEUE_INCLUDE_H
|
|
#define ACL_YQUEUE_INCLUDE_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
{
|
|
#endif
|
|
|
|
#include "acl_define.h"
|
|
|
|
typedef struct ACL_YQUEUE ACL_YQUEUE;
|
|
|
|
ACL_API ACL_YQUEUE* acl_yqueue_new(void);
|
|
ACL_API void acl_yqueue_free(ACL_YQUEUE *yqueue, void(*free_fn)(void*));
|
|
ACL_API void **acl_yqueue_front(ACL_YQUEUE *yqueue);
|
|
ACL_API void **acl_yqueue_back(ACL_YQUEUE *yqueue);
|
|
ACL_API void acl_yqueue_push(ACL_YQUEUE *yqueue);
|
|
ACL_API void acl_yqueue_pop(ACL_YQUEUE *yqueue);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|