diff options
author | Markus Teich <markus.teich@stusta.mhn.de> | 2016-08-16 20:58:20 +0200 |
---|---|---|
committer | Markus Teich <markus.teich@stusta.mhn.de> | 2016-08-16 20:58:20 +0200 |
commit | fe7b13889217f4268d87d3712cb9ffe265e6a4e2 (patch) | |
tree | 59a17a13bdd9f22281bb0a59d8056675814a0cfd /platform.h | |
parent | 01c2b8d710ff5a526d1ae2ed2a7fafdec0b1f973 (diff) | |
download | libbrandt-fe7b13889217f4268d87d3712cb9ffe265e6a4e2.tar.gz libbrandt-fe7b13889217f4268d87d3712cb9ffe265e6a4e2.zip |
some stuff
- finish BRANDT_destroy()
- fix include mess related to platform.h and brandt_config.h
- add first brandt.c testcase
Diffstat (limited to 'platform.h')
-rw-r--r-- | platform.h | 44 |
1 files changed, 21 insertions, 23 deletions
@@ -1,24 +1,25 @@ | |||
1 | /* | 1 | /* This file is part of libbrandt. |
2 | This file is part of TALER | 2 | * Copyright (C) 2016 GNUnet e.V. |
3 | Copyright (C) 2014 Chrisitan Grothoff (and other contributing authors) | 3 | * |
4 | 4 | * libbrandt is free software: you can redistribute it and/or modify it under | |
5 | TALER is free software; you can redistribute it and/or modify it under the | 5 | * the terms of the GNU General Public License as published by the Free Software |
6 | terms of the GNU General Public License as published by the Free Software | 6 | * Foundation, either version 3 of the License, or (at your option) any later |
7 | Foundation; either version 3, or (at your option) any later version. | 7 | * version. |
8 | 8 | * | |
9 | TALER is distributed in the hope that it will be useful, but WITHOUT ANY | 9 | * libbrandt is distributed in the hope that it will be useful, but WITHOUT ANY |
10 | WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR | 10 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR |
11 | A PARTICULAR PURPOSE. See the GNU General Public License for more details. | 11 | * A PARTICULAR PURPOSE. See the GNU General Public License for more details. |
12 | 12 | * | |
13 | You should have received a copy of the GNU General Public License along with | 13 | * You should have received a copy of the GNU General Public License along with |
14 | TALER; see the file COPYING. If not, If not, see <http://www.gnu.org/licenses/> | 14 | * libbrandt. If not, see <http://www.gnu.org/licenses/>. |
15 | */ | 15 | */ |
16 | 16 | ||
17 | /** | 17 | /** |
18 | * @file platform.h | 18 | * @file platform.h |
19 | * @brief This file contains the includes and definitions which are used by the | 19 | * @brief This file was adapted from TALER and contains some magic |
20 | * rest of the modules | 20 | * configuration. It should be included in every compilation as the first |
21 | * @author Sree Harsha Totakura <sreeharsha@totakura.in> | 21 | * include directive, since it sets up defines which are used in other includes. |
22 | * @author Markus Teich | ||
22 | */ | 23 | */ |
23 | 24 | ||
24 | #ifndef PLATFORM_H_ | 25 | #ifndef PLATFORM_H_ |
@@ -29,11 +30,8 @@ | |||
29 | # define HAVE_USED_CONFIG_H | 30 | # define HAVE_USED_CONFIG_H |
30 | # ifdef HAVE_CONFIG_H | 31 | # ifdef HAVE_CONFIG_H |
31 | # include "brandt_config.h" | 32 | # include "brandt_config.h" |
32 | # endif | 33 | # endif /* ifdef HAVE_CONFIG_H */ |
33 | #endif | 34 | #endif /* ifndef HAVE_USED_CONFIG_H */ |
34 | |||
35 | /* Include the features available for GNU source */ | ||
36 | #define _GNU_SOURCE | ||
37 | 35 | ||
38 | /* Include GNUnet's platform file */ | 36 | /* Include GNUnet's platform file */ |
39 | #include <gnunet/platform.h> | 37 | #include <gnunet/platform.h> |