4c97ae0f8ed4f2795ac142b3af833296b6532682
[libcontrac.git] / src / contrac.c
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 // Includes
18
19 #include <stdio.h>
20 #include <stdlib.h>
21 #include <string.h>
22 #include <stdarg.h>
23 #include <openssl/crypto.h>
24
25 #include "contrac/contrac.h"
26
27 // Defines
28
29 // Structures
30
31 struct _Contrac {
32 int version;
33 };
34
35 // Function prototypes
36
37 // Function definitions
38
39 Contrac * contrac_new() {
40 Contrac * data;
41
42 data = calloc(sizeof(Contrac), 1);
43 data->version = 0;
44
45 return data;
46 }
47
48 void contrac_delete(Contrac * data) {
49 if (data) {
50 free(data);
51 }
52 }
53
54