MySQL 8.0.39
Source Code Documentation
observer_server_actions.h
Go to the documentation of this file.
1/* Copyright (c) 2014, 2024, Oracle and/or its affiliates.
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 designed to work 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 either included with
13 the program or referenced in the documentation.
14
15 This program is distributed in the hope that it will be useful,
16 but WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 GNU General Public License, version 2.0, for more details.
19
20 You should have received a copy of the GNU General Public License
21 along with this program; if not, write to the Free Software
22 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
23
24#ifndef OBSERVER_SERVER_ACTIONS_INCLUDE
25#define OBSERVER_SERVER_ACTIONS_INCLUDE
26
28
29#include "my_inttypes.h"
30
32
33// Remaining binlog transmit observer methods, not used as of now
34
36 const char *log_file, my_off_t log_pos);
37
39
41 unsigned char *header, unsigned long size,
42 unsigned long *len);
43
45 unsigned char *packet,
46 unsigned long len, const char *log_file,
47 my_off_t log_pos);
48
50 const char *event_buf, unsigned long len,
51 const char *skipped_log_file,
52 my_off_t skipped_log_pos);
53
54// Binlog_transmit observer struct
56
57#endif /* OBSERVER_SERVER_ACTIONS_INCLUDE */
Some integer typedefs for easier portability.
ulonglong my_off_t
Definition: my_inttypes.h:72
Logfile log_file
Definition: mysqltest.cc:263
Binlog_transmit_observer binlog_transmit_observer
Definition: observer_server_actions.cc:56
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:45
int group_replication_reset_master_logs(Binlog_transmit_param *param)
Definition: observer_server_actions.cc:28
int group_replication_transmit_stop(Binlog_transmit_param *param)
Definition: observer_server_actions.cc:38
int group_replication_transmit_start(Binlog_transmit_param *param, const char *log_file, my_off_t log_pos)
Definition: observer_server_actions.cc:33
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:51
int group_replication_reserve_header(Binlog_transmit_param *param, unsigned char *header, unsigned long size, unsigned long *len)
Definition: observer_server_actions.cc:40
Observe and extends the binlog dumping thread.
Definition: replication.h:572
Replication binlog transmitter (binlog dump) observer parameter.
Definition: replication.h:452