Add initial event logging code

This commit is contained in:
Ian Barwick
2015-03-13 16:43:28 +09:00
parent 886a9fd036
commit 0307c51d4b
4 changed files with 410 additions and 19 deletions

View File

@@ -64,5 +64,7 @@ bool set_config_bool(PGconn *conn, const char *config_param, bool state);
bool copy_configuration(PGconn *masterconn, PGconn *witnessconn, char *cluster_name);
bool create_node_record(PGconn *conn, char *action, int node, char *type, int upstream_node, char *cluster_name, char *node_name, char *conninfo, int priority, char *slot_name);
bool delete_node_record(PGconn *conn, int node, char *action);
bool create_event_record(PGconn *conn, int node_id, char *event, bool successful, char *details);
#endif