Last change
on this file since 128 was 128, checked in by cheese, 11 years ago |
#1 add bitwise util from ARIA of chevalier
|
File size:
744 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 |
|
---|
[113] | 15 | /** 큐 컨텍스트 (Opaque) */
|
---|
[109] | 16 | typedef void * CF_Queue_Ctx;
|
---|
| 17 |
|
---|
| 18 | #ifdef __cplusplus
|
---|
| 19 | extern "C" {
|
---|
| 20 | #endif
|
---|
| 21 |
|
---|
| 22 | CF_EXPORT int
|
---|
| 23 | CF_Queue_CreateCtx (CF_Queue_Ctx * ctx);
|
---|
| 24 |
|
---|
| 25 | CF_EXPORT int
|
---|
| 26 | CF_Queue_DestroyCtx (CF_Queue_Ctx ctx);
|
---|
| 27 |
|
---|
| 28 | CF_EXPORT int
|
---|
| 29 | CF_Queue_Put (CF_Queue_Ctx ctx,
|
---|
| 30 | const void * element);
|
---|
| 31 |
|
---|
| 32 | CF_EXPORT int
|
---|
| 33 | CF_Queue_Get (CF_Queue_Ctx ctx,
|
---|
| 34 | void ** element);
|
---|
| 35 |
|
---|
| 36 | CF_EXPORT int
|
---|
| 37 | CF_Queue_Front (CF_Queue_Ctx ctx,
|
---|
| 38 | void ** element);
|
---|
| 39 |
|
---|
| 40 | CF_EXPORT int
|
---|
| 41 | CF_Queue_GetSize (CF_Queue_Ctx ctx);
|
---|
| 42 |
|
---|
| 43 | #ifdef __cplusplus
|
---|
| 44 | }
|
---|
| 45 | #endif
|
---|
| 46 |
|
---|
| 47 | #endif // #ifndef __CF_QUEUE_H__
|
---|
Note:
See
TracBrowser
for help on using the repository browser.