D.S

dev.mysql.com

MySQL: include/mysql_com_server.h Source File

MySQL: include/mysql_com_server.h Source File MySQL  8.0.0 Source Code Documentation Main Page Related Pages Modules Namespaces Classes Files File List File Members mysql_com_server.h Go to the documentation of this file. 1 /* Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved. 2  3  This program is free software; you can redistribute it and/or modify 4  it under the terms of the GNU General Public License as published by 5  the Free Software Foundation; version 2 of the License. 6  7  This program is distributed in the hope that it will be useful, 8  but WITHOUT ANY WARRANTY; without even the implied warranty of 9  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 10  GNU General Public License for more details. 11  12  You should have received a copy of the GNU General Public License 13  along with this program; if not, write to the Free Software 14  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ 15  16 /** 17  @file include/mysql_com_server.h 18  Definitions private to the server, 19  used in the networking layer to notify specific events. 20 */ 21  22 #ifndef _mysql_com_server_h 23 #define _mysql_com_server_h 24  25 struct st_net_server ; 26  27 typedef void (* before_header_callback_fn ) 28   (struct st_net *net, void *user_data, size_t count ); 29  30 typedef void (* after_header_callback_fn ) 31   (struct st_net *net, void *user_data, size_t count , my_bool rc); 32  33  struct st_net_server 34 { 35   before_header_callback_fn m_before_header ; 36   after_header_callback_fn m_after_header ; 37   void * m_user_data ; 38 }; 39  40  typedef struct st_net_server NET_SERVER ; 41  42 #endif st_net_server::m_before_header before_header_callback_fn m_before_header Definition: mysql_com_server.h:35 my_bool char my_bool Definition: my_global.h:773 count static int count Definition: myisam_ftdump.c:26 before_header_callback_fn void(* before_header_callback_fn)(struct st_net *net, void *user_data, size_t count) Definition: mysql_com_server.h:28 after_header_callback_fn void(* after_header_callback_fn)(struct st_net *net, void *user_data, size_t count, my_bool rc) Definition: mysql_com_server.h:31 st_net Definition: mysql_com.h:771 st_net_server::m_after_header after_header_callback_fn m_after_header Definition: mysql_com_server.h:36 st_net_server Definition: mysql_com_server.h:33 st_net_server::m_user_data void * m_user_data Definition: mysql_com_server.h:37 include mysql_com_server.h Generated by 1.8.11