summaryrefslogtreecommitdiff
path: root/db-4.8.30/dbinc_auto/repmgr_auto.h
diff options
context:
space:
mode:
Diffstat (limited to 'db-4.8.30/dbinc_auto/repmgr_auto.h')
-rw-r--r--db-4.8.30/dbinc_auto/repmgr_auto.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/db-4.8.30/dbinc_auto/repmgr_auto.h b/db-4.8.30/dbinc_auto/repmgr_auto.h
new file mode 100644
index 0000000..a04a7f8
--- /dev/null
+++ b/db-4.8.30/dbinc_auto/repmgr_auto.h
@@ -0,0 +1,42 @@
+/* Do not edit: automatically built by gen_msg.awk. */
+
+#ifndef __repmgr_AUTO_H
+#define __repmgr_AUTO_H
+
+/*
+ * Message sizes are simply the sum of field sizes (not
+ * counting variable size parts, when DBTs are present),
+ * and may be different from struct sizes due to padding.
+ */
+#define __REPMGR_HANDSHAKE_SIZE 10
+typedef struct ___repmgr_handshake_args {
+ u_int16_t port;
+ u_int32_t priority;
+ u_int32_t flags;
+} __repmgr_handshake_args;
+
+#define __REPMGR_V2HANDSHAKE_SIZE 6
+typedef struct ___repmgr_v2handshake_args {
+ u_int16_t port;
+ u_int32_t priority;
+} __repmgr_v2handshake_args;
+
+#define __REPMGR_ACK_SIZE 12
+typedef struct ___repmgr_ack_args {
+ u_int32_t generation;
+ DB_LSN lsn;
+} __repmgr_ack_args;
+
+#define __REPMGR_VERSION_PROPOSAL_SIZE 8
+typedef struct ___repmgr_version_proposal_args {
+ u_int32_t min;
+ u_int32_t max;
+} __repmgr_version_proposal_args;
+
+#define __REPMGR_VERSION_CONFIRMATION_SIZE 4
+typedef struct ___repmgr_version_confirmation_args {
+ u_int32_t version;
+} __repmgr_version_confirmation_args;
+
+#define __REPMGR_MAXMSG_SIZE 12
+#endif