diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-07-24 15:24:50 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-07-24 15:24:50 +0000 |
commit | 58d06b22557a9d06dfeff5975c8241def4f88680 (patch) | |
tree | a524c1984b580911d614ee84cc35872beaa34c7e /src/daemon/https/tls/defines.h | |
parent | 29529aefd1a38449647a3cea724635e87d01d3ea (diff) | |
download | libmicrohttpd-58d06b22557a9d06dfeff5975c8241def4f88680.tar.gz libmicrohttpd-58d06b22557a9d06dfeff5975c8241def4f88680.zip |
towards using libgnutls directly
Diffstat (limited to 'src/daemon/https/tls/defines.h')
-rw-r--r-- | src/daemon/https/tls/defines.h | 66 |
1 files changed, 0 insertions, 66 deletions
diff --git a/src/daemon/https/tls/defines.h b/src/daemon/https/tls/defines.h deleted file mode 100644 index 9a636360..00000000 --- a/src/daemon/https/tls/defines.h +++ /dev/null | |||
@@ -1,66 +0,0 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 Free Software Foundation | ||
3 | * | ||
4 | * Author: Nikos Mavrogiannopoulos | ||
5 | * | ||
6 | * This file is part of GNUTLS. | ||
7 | * | ||
8 | * The GNUTLS library is free software; you can redistribute it and/or | ||
9 | * modify it under the terms of the GNU Lesser General Public License | ||
10 | * as published by the Free Software Foundation; either version 2.1 of | ||
11 | * the License, or (at your option) any later version. | ||
12 | * | ||
13 | * This library is distributed in the hope that it will be useful, but | ||
14 | * WITHOUT ANY WARRANTY; without even the implied warranty of | ||
15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
16 | * Lesser General Public License for more details. | ||
17 | * | ||
18 | * You should have received a copy of the GNU Lesser General Public | ||
19 | * License along with this library; if not, write to the Free Software | ||
20 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, | ||
21 | * USA | ||
22 | * | ||
23 | */ | ||
24 | |||
25 | #ifndef DEFINES_H | ||
26 | # define DEFINES_H | ||
27 | |||
28 | #ifdef HAVE_CONFIG_H | ||
29 | # include "MHD_config.h" | ||
30 | #endif | ||
31 | |||
32 | #include <stddef.h> | ||
33 | #include <string.h> | ||
34 | #include <stdlib.h> | ||
35 | #include <stdio.h> | ||
36 | #include <ctype.h> | ||
37 | #include <limits.h> | ||
38 | #include <stdint.h> | ||
39 | |||
40 | #ifdef NO_SSIZE_T | ||
41 | # define HAVE_SSIZE_T | ||
42 | typedef int ssize_t; | ||
43 | #endif | ||
44 | |||
45 | #include <sys/types.h> | ||
46 | #include <unistd.h> | ||
47 | #include <sys/stat.h> | ||
48 | #ifndef MINGW | ||
49 | #include <sys/socket.h> | ||
50 | #endif | ||
51 | #include <time.h> | ||
52 | |||
53 | /* TODO check if these should go into config.h */ | ||
54 | #define SIZEOF_UNSIGNED_INT 4 | ||
55 | #define SIZEOF_UNSIGNED_LONG 8 | ||
56 | #define SIZEOF_UNSIGNED_LONG_INT SIZEOF_UNSIGNED_LONG | ||
57 | |||
58 | /* some systems had problems with long long int, thus, | ||
59 | * it is not used. | ||
60 | */ | ||
61 | typedef struct | ||
62 | { | ||
63 | unsigned char i[8]; | ||
64 | } uint64; | ||
65 | |||
66 | #endif /* defines_h */ | ||