|
||||
File indexing completed on 2025-01-18 10:00:17
0001 /* 0002 * Copyright (C) 2016 Free Software Foundation, Inc. 0003 * 0004 * Author: Tim Ruehsen 0005 * 0006 * This file is part of GnuTLS. 0007 * 0008 * The GnuTLS is free software; you can redistribute it and/or 0009 * modify it under the terms of the GNU Lesser General Public License 0010 * as published by the Free Software Foundation; either version 2.1 of 0011 * the License, or (at your option) any later version. 0012 * 0013 * This library is distributed in the hope that it will be useful, but 0014 * WITHOUT ANY WARRANTY; without even the implied warranty of 0015 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 0016 * Lesser General Public License for more details. 0017 * 0018 * You should have received a copy of the GNU Lesser General Public License 0019 * along with this program. If not, see <https://www.gnu.org/licenses/> 0020 * 0021 */ 0022 0023 /* This file contains socket related types, prototypes and includes. 0024 */ 0025 0026 #ifndef GNUTLS_SOCKET_H 0027 #define GNUTLS_SOCKET_H 0028 0029 #include <gnutls/gnutls.h> 0030 0031 /* Get socklen_t */ 0032 #include <sys/socket.h> 0033 0034 #ifdef __cplusplus 0035 extern "C" { 0036 #endif 0037 0038 void gnutls_transport_set_fastopen(gnutls_session_t session, int fd, 0039 struct sockaddr *connect_addr, 0040 socklen_t connect_addrlen, 0041 unsigned int flags); 0042 0043 #ifdef __cplusplus 0044 } 0045 #endif 0046 0047 #endif /* GNUTLS_SOCKET_H */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |