/*
* "$Id$"
*
- * Private HTTP definitions for CUPS.
+ * Private HTTP definitions for CUPS.
*
- * Copyright 2007-2013 by Apple Inc.
- * Copyright 1997-2007 by Easy Software Products, all rights reserved.
+ * Copyright 2007-2013 by Apple Inc.
+ * Copyright 1997-2007 by Easy Software Products, all rights reserved.
*
- * These coded instructions, statements, and computer programs are the
- * property of Apple Inc. and are protected by Federal copyright
- * law. Distribution and use rights are outlined in the file "LICENSE.txt"
- * which should have been included with this file. If this file is
- * file is missing or damaged, see the license at "http://www.cups.org/".
+ * These coded instructions, statements, and computer programs are the
+ * property of Apple Inc. and are protected by Federal copyright
+ * law. Distribution and use rights are outlined in the file "LICENSE.txt"
+ * which should have been included with this file. If this file is
+ * file is missing or damaged, see the license at "http://www.cups.org/".
*
- * This file is subject to the Apple OS-Developed Software exception.
+ * This file is subject to the Apple OS-Developed Software exception.
*/
#ifndef _CUPS_HTTP_PRIVATE_H_
* The GNU TLS library is more of a "bare metal" SSL/TLS library...
*/
-typedef gnutls_session http_tls_t;
+typedef gnutls_session_t http_tls_t;
typedef void *http_tls_credentials_t;
-extern ssize_t _httpReadGNUTLS(gnutls_transport_ptr ptr, void *data,
+extern ssize_t _httpReadGNUTLS(gnutls_transport_ptr_t ptr, void *data,
size_t length);
-extern ssize_t _httpWriteGNUTLS(gnutls_transport_ptr ptr, const void *data,
+extern ssize_t _httpWriteGNUTLS(gnutls_transport_ptr_t ptr, const void *data,
size_t length);
# elif defined(HAVE_CDSASSL)