Add initial crypto functionality
[libcontrac.git] / include / contrac / dtk_list.h
1 /** \ingroup contrac
2 * @file
3 * @author David Llewellyn-Jones
4 * @version $(VERSION)
5 *
6 * @section LICENSE
7 *
8 *
9 *
10 * @brief
11 * @section DESCRIPTION
12 *
13 *
14 *
15 */
16
17 #ifndef __DTK_LIST_H
18 #define __DTK_LIST_H
19
20 // Includes
21
22 #include "contrac/contrac.h"
23 #include "contrac/dtk.h"
24
25 // Defines
26
27 // Structures
28
29 typedef struct _DtkList DtkList;
30 typedef struct _DtkListItem DtkListItem;
31
32 // Function prototypes
33
34 DtkList * dtk_list_new();
35 void dtk_list_delete(DtkList * data);
36
37 void dtk_list_append(DtkList * data, Dtk * dtk);
38 DtkListItem const * dtk_list_first(DtkList const * data);
39 DtkListItem const * dtk_list_next(DtkListItem const * data);
40 Dtk const * dtk_list_get_dtk(DtkListItem const * data);
41
42 // Function definitions
43
44 #endif // __DTK_LIST_H
45
46