source:
libcf/trunk/include/cf_queue.h@
151
Last change on this file since 151 was 151, checked in by , 11 years ago | |
---|---|
File size: 636 bytes |
Rev | Line | |
---|---|---|
[109] | 1 | /** |
[128] | 2 | * \file cf_queue.h |
[109] | 3 | * |
[128] | 4 | * \author myusgun <myusgun@gmail.com> |
5 | * | |
[119] | 6 | * \brief 큐 |
[109] | 7 | * |
[119] | 8 | * \example queue.c |
[109] | 9 | */ |
[114] | 10 | #ifndef __CF_QUEUE_H__ |
[109] | 11 | #define __CF_QUEUE_H__ |
12 | ||
13 | #include "cf_base.h" | |
14 | ||
15 | #ifdef __cplusplus | |
16 | extern "C" { | |
17 | #endif | |
18 | ||
19 | CF_EXPORT int | |
[151] | 20 | CF_Queue_Create (cf_ctx * ctx); |
[109] | 21 | |
22 | CF_EXPORT int | |
[151] | 23 | CF_Queue_Destroy (cf_ctx ctx); |
[109] | 24 | |
25 | CF_EXPORT int | |
[151] | 26 | CF_Queue_Put (cf_ctx ctx, |
27 | const void * element); | |
[109] | 28 | |
29 | CF_EXPORT int | |
[151] | 30 | CF_Queue_Get (cf_ctx ctx, |
31 | void ** element); | |
[109] | 32 | |
33 | CF_EXPORT int | |
[151] | 34 | CF_Queue_Front (cf_ctx ctx, |
35 | void ** element); | |
[109] | 36 | |
37 | CF_EXPORT int | |
[151] | 38 | CF_Queue_GetSize (cf_ctx ctx); |
[109] | 39 | |
40 | #ifdef __cplusplus | |
41 | } | |
42 | #endif | |
43 | ||
44 | #endif // #ifndef __CF_QUEUE_H__ |
Note:
See TracBrowser
for help on using the repository browser.