source: libcf/trunk/include/cf_queue.h@ 113

Last change on this file since 113 was 113, checked in by cheese, 11 years ago

#1 update more doxygen comments

File size: 742 bytes
Line 
1/**
2 * @file cf_queue.h
3 * @author myusgun <myusgun@gmail.com>
4 *
5 * @remark 큐
6 *
7 * @example queue.c
8 */
9#ifndef __CF_STACK_H__
10#define __CF_QUEUE_H__
11
12#include "cf_base.h"
13
14/** 큐 컨텍스트 (Opaque) */
15typedef void * CF_Queue_Ctx;
16
17#ifdef __cplusplus
18extern "C" {
19#endif
20
21CF_EXPORT int
22CF_Queue_CreateCtx (CF_Queue_Ctx * ctx);
23
24CF_EXPORT int
25CF_Queue_DestroyCtx (CF_Queue_Ctx ctx);
26
27CF_EXPORT int
28CF_Queue_Put (CF_Queue_Ctx ctx,
29 const void * element);
30
31CF_EXPORT int
32CF_Queue_Get (CF_Queue_Ctx ctx,
33 void ** element);
34
35CF_EXPORT int
36CF_Queue_Front (CF_Queue_Ctx ctx,
37 void ** element);
38
39CF_EXPORT int
40CF_Queue_GetSize (CF_Queue_Ctx ctx);
41
42#ifdef __cplusplus
43}
44#endif
45
46#endif // #ifndef __CF_QUEUE_H__
Note: See TracBrowser for help on using the repository browser.