MySQL  8.0.21
Source Code Documentation
observer_server_actions.h
Go to the documentation of this file.
1 /* Copyright (c) 2014, 2018, 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, version 2.0,
5  as published by the Free Software Foundation.
6 
7  This program is also distributed with certain software (including
8  but not limited to OpenSSL) that is licensed under separate terms,
9  as designated in a particular file or component or in included license
10  documentation. The authors of MySQL hereby grant you an additional
11  permission to link the program and your derivative works with the
12  separately licensed software that they have included with MySQL.
13 
14  This program is distributed in the hope that it will be useful,
15  but WITHOUT ANY WARRANTY; without even the implied warranty of
16  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17  GNU General Public License, version 2.0, for more details.
18 
19  You should have received a copy of the GNU General Public License
20  along with this program; if not, write to the Free Software
21  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
22 
23 #ifndef OBSERVER_SERVER_ACTIONS_INCLUDE
24 #define OBSERVER_SERVER_ACTIONS_INCLUDE
25 
27 
28 #include "my_inttypes.h"
29 
31 
32 // Remaining binlog transmit observer methods, not used as of now
33 
35  const char *log_file, my_off_t log_pos);
36 
38 
40  unsigned char *header, unsigned long size,
41  unsigned long *len);
42 
44  unsigned char *packet,
45  unsigned long len, const char *log_file,
46  my_off_t log_pos);
47 
49  const char *event_buf, unsigned long len,
50  const char *skipped_log_file,
51  my_off_t skipped_log_pos);
52 
53 // Binlog_transmit observer struct
55 
56 #endif /* OBSERVER_SERVER_ACTIONS_INCLUDE */
int group_replication_transmit_stop(Binlog_transmit_param *param)
Definition: observer_server_actions.cc:37
Some integer typedefs for easier portability.
Observe and extends the binlog dumping thread.
Definition: replication.h:559
int group_replication_before_send_event(Binlog_transmit_param *param, unsigned char *packet, unsigned long len, const char *log_file, my_off_t log_pos)
Definition: observer_server_actions.cc:44
int group_replication_transmit_start(Binlog_transmit_param *param, const char *log_file, my_off_t log_pos)
Definition: observer_server_actions.cc:32
int group_replication_reserve_header(Binlog_transmit_param *param, unsigned char *header, unsigned long size, unsigned long *len)
Definition: observer_server_actions.cc:39
Replication binlog transmitter (binlog dump) observer parameter.
Definition: replication.h:439
Binlog_transmit_observer binlog_transmit_observer
Definition: observer_server_actions.cc:55
Logfile log_file
Definition: mysqltest.cc:253
ulonglong my_off_t
Definition: my_inttypes.h:71
int group_replication_reset_master_logs(Binlog_transmit_param *param)
Definition: observer_server_actions.cc:27
int group_replication_after_send_event(Binlog_transmit_param *param, const char *event_buf, unsigned long len, const char *skipped_log_file, my_off_t skipped_log_pos)
Definition: observer_server_actions.cc:50