1 /******************************************************************************
2 *
3 * Copyright (C) 2006, The Gentee Group. All rights reserved.
4 * This file is part of the Gentee open source project - http://www.gentee.com.
5 *
6 * THIS FILE IS PROVIDED UNDER THE TERMS OF THE GENTEE LICENSE ("AGREEMENT").
7 * ANY USE, REPRODUCTION OR DISTRIBUTION OF THIS FILE CONSTITUTES RECIPIENTS
8 * ACCEPTANCE OF THE AGREEMENT.
9 *
10 * ID: arrdata 18.10.06 0.0.A.
11 *
12 * Author: Alexey Krivonogov ( gentee )
13 *
14 * Summary: Array of buf or str
15 *
16 ******************************************************************************/
17
18 #ifndef _ARRDATA_
19 #define _ARRDATA_
20
21 #ifdef __cplusplus
22 extern "C" {
23 #endif // __cplusplus
24
25 #include "arr.h"
26 #include "str.h"
27
28 //--------------------------------------------------------------------------
29
30 typedef arr arrdata;
31 typedef arrdata * parrdata;
32
33 uint STDCALL arrdata_appendstr( parrdata pa, pubyte input );
34 void STDCALL arrdata_delete( parrdata pa );
35 pstr STDCALL arrdata_get( parrdata pa, uint index );
36 parrdata STDCALL arrdata_init( parrdata pa );
37 uint STDCALL arrdata_strload( parrdata pa, pubyte input );
38
39
40 //--------------------------------------------------------------------------
41
42 #ifdef __cplusplus
43 }
44 #endif // __cplusplus
45
46 #endif // _ARRDATA_
47
48
Редактировать