summaryrefslogtreecommitdiff
path: root/src/gnutls.h
diff options
context:
space:
mode:
authorLars Magne Ingebrigtsen <larsi@gnus.org>2010-09-29 14:48:29 +0200
committerLars Magne Ingebrigtsen <larsi@gnus.org>2010-09-29 14:48:29 +0200
commitdf7fcafff05c4002f35e507c65518f4b20ba5382 (patch)
treedff32dbafc674846a125fd1d28a6ea79db90c522 /src/gnutls.h
parentaf7ef32d8e12d07c4a37df1685d997ac76641dd7 (diff)
downloademacs-df7fcafff05c4002f35e507c65518f4b20ba5382.tar.gz
Make sure all reads/writes to gnutls streams go via the gnutls functions.
Diffstat (limited to 'src/gnutls.h')
-rw-r--r--src/gnutls.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gnutls.h b/src/gnutls.h
index d63555a8a94..bcf9776963f 100644
--- a/src/gnutls.h
+++ b/src/gnutls.h
@@ -49,10 +49,10 @@ typedef enum
#define GNUTLS_LOG(level, max, string) if (level <= max) { gnutls_log_function (level, "(Emacs) " string); }
int
-emacs_gnutls_write (int fildes, gnutls_session_t state, char *buf,
+emacs_gnutls_write (int fildes, struct Lisp_Process *proc, char *buf,
unsigned int nbyte);
int
-emacs_gnutls_read (int fildes, gnutls_session_t state, char *buf,
+emacs_gnutls_read (int fildes, struct Lisp_Process *proc, char *buf,
unsigned int nbyte);
extern void syms_of_gnutls (void);