summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2001-10-21 13:31:11 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2001-10-21 13:31:11 +0000
commitc0cd4011c2701d42f2678d651a508f7572fa0ae3 (patch)
treee68b4849e5f8e46dbdaf5943210cc592838cdc01
parenta27ba89aaebcc16064e13245afcfc2dae40aac1f (diff)
downloadgnutls-c0cd4011c2701d42f2678d651a508f7572fa0ae3.tar.gz
*** empty log message ***
-rw-r--r--lib/gnutls.h.in4
-rw-r--r--lib/gnutls_int.h5
2 files changed, 8 insertions, 1 deletions
diff --git a/lib/gnutls.h.in b/lib/gnutls.h.in
index ece8830c88..6b9a6ad80b 100644
--- a/lib/gnutls.h.in
+++ b/lib/gnutls.h.in
@@ -56,7 +56,11 @@ typedef enum CloseRequest { GNUTLS_SHUT_RDWR=0, GNUTLS_SHUT_WR=1 } CloseRequest;
typedef enum GNUTLS_Version { GNUTLS_SSL3=1, GNUTLS_TLS1 } GNUTLS_Version;
+/* If you want to change this, then also change the
+ * define in gnutls_int.h, and recompile.
+ */
#define SOCKET int
+
#define LIST ...
struct GNUTLS_STATE_INT;
diff --git a/lib/gnutls_int.h b/lib/gnutls_int.h
index 78e4693940..a6de5db713 100644
--- a/lib/gnutls_int.h
+++ b/lib/gnutls_int.h
@@ -33,8 +33,11 @@
#define READ_DEBUG*/
#define DEBUG
-
+/* It might be a good idea to replace int with void*
+ * here.
+ */
#define SOCKET int
+
#define LIST ...
#define MAX32 4294967295