PATH:
usr
/
include
/
mysql
/
server
/* Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335 USA */ /* This file is also used to make handling of sockets and ioctl() portable across systems. */ #ifndef _my_net_h #define _my_net_h C_MODE_START #include <errno.h> #ifdef HAVE_SYS_SOCKET_H #include <sys/socket.h> #endif #ifdef HAVE_NETINET_IN_H #include <netinet/in.h> #endif #ifdef HAVE_ARPA_INET_H #include <arpa/inet.h> #endif #if defined(HAVE_POLL_H) #include <poll.h> #elif defined(HAVE_SYS_POLL_H) #include <sys/poll.h> #endif /* defined(HAVE_POLL_H) */ #ifdef HAVE_SYS_IOCTL_H #include <sys/ioctl.h> #endif #if !defined(_WIN32) #include <netinet/in_systm.h> #include <netinet/in.h> #include <netinet/ip.h> #if !defined(alpha_linux_port) #include <netinet/tcp.h> #endif #endif #if defined(_WIN32) #define O_NONBLOCK 1 /* For emulation of fcntl() */ /* SHUT_RDWR is called SD_BOTH in windows and is defined to 2 in winsock2.h #define SD_BOTH 0x02 */ #define SHUT_RDWR 0x02 #else #include <netdb.h> /* getaddrinfo() & co */ #endif /* On OSes which don't have the in_addr_t, we guess that using uint32 is the best possible choice. We guess this from the fact that on HP-UX64bit & FreeBSD64bit & Solaris64bit, in_addr_t is equivalent to uint32. And on Linux32bit too. */ #ifndef HAVE_IN_ADDR_T #define in_addr_t uint32 #endif C_MODE_END #endif
[-] my_dbug.h
[edit]
[-] byte_order_generic_x86.h
[edit]
[-] m_ctype.h
[edit]
[-] json_lib.h
[edit]
[-] handler_ername.h
[edit]
[-] sslopt-case.h
[edit]
[-] byte_order_generic_x86_64.h
[edit]
[-] sql_state.h
[edit]
[-] mysql_version.h
[edit]
[-] ma_dyncol.h
[edit]
[-] mysql.h
[edit]
[-] mysql_time.h
[edit]
[+]
mysql
[-] sslopt-vars.h
[edit]
[+]
private
[-] my_getopt.h
[edit]
[-] mysql_com.h
[edit]
[-] my_list.h
[edit]
[-] pack.h
[edit]
[-] typelib.h
[edit]
[-] my_alloca.h
[edit]
[-] my_net.h
[edit]
[-] my_cmp.h
[edit]
[-] my_compiler.h
[edit]
[-] my_alloc.h
[edit]
[+]
..
[-] mysql_embed.h
[edit]
[-] my_global.h
[edit]
[-] byte_order_generic.h
[edit]
[-] m_string.h
[edit]
[-] mariadb_capi_rename.h
[edit]
[-] my_xml.h
[edit]
[-] mysql_com_server.h
[edit]
[-] mysqld_error.h
[edit]
[-] big_endian.h
[edit]
[-] little_endian.h
[edit]
[-] errmsg.h
[edit]
[-] my_sys.h
[edit]
[-] handler_state.h
[edit]
[-] my_attribute.h
[edit]
[-] my_pthread.h
[edit]
[-] my_decimal_limits.h
[edit]
[-] mysqld_ername.h
[edit]
[-] my_valgrind.h
[edit]
[-] sql_common.h
[edit]
[-] keycache.h
[edit]
[-] sslopt-longopts.h
[edit]
[-] my_byteorder.h
[edit]
[-] decimal.h
[edit]
[-] my_config.h
[edit]
[-] my_dir.h
[edit]