summaryrefslogtreecommitdiffstats
path: root/ctdb/include
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2009-12-08 00:51:24 +1030
committerRusty Russell <rusty@rustcorp.com.au>2009-12-08 00:51:24 +1030
commit9753b7e793aa35300c60ec43d18edaf66e6d2955 (patch)
tree02002815604ce505a9e6aaa249f0b3f939d0d648 /ctdb/include
parent3ff8bf81382b9f14578c479e884eee35941feeb5 (diff)
downloadsamba-9753b7e793aa35300c60ec43d18edaf66e6d2955.tar.gz
samba-9753b7e793aa35300c60ec43d18edaf66e6d2955.tar.xz
samba-9753b7e793aa35300c60ec43d18edaf66e6d2955.zip
eventscript: rename ctdb_monitoring_wire to ctdb_scripts_wire
We're going to allow fetching status of all script runs, so this name is no longer appropriate. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (This used to be ctdb commit f5cb41ecf3fa986b8af243e8546eb3b985cd902a)
Diffstat (limited to 'ctdb/include')
-rw-r--r--ctdb/include/ctdb.h8
-rw-r--r--ctdb/include/ctdb_private.h2
2 files changed, 5 insertions, 5 deletions
diff --git a/ctdb/include/ctdb.h b/ctdb/include/ctdb.h
index 0f8af9f045..6721841aaf 100644
--- a/ctdb/include/ctdb.h
+++ b/ctdb/include/ctdb.h
@@ -654,7 +654,7 @@ int switch_from_server_to_client(struct ctdb_context *ctdb);
#define MAX_SCRIPT_NAME 31
#define MAX_SCRIPT_OUTPUT 511
-struct ctdb_monitoring_script_wire {
+struct ctdb_script_wire {
char name[MAX_SCRIPT_NAME+1];
struct timeval start;
struct timeval finished;
@@ -662,14 +662,14 @@ struct ctdb_monitoring_script_wire {
char output[MAX_SCRIPT_OUTPUT+1];
};
-struct ctdb_monitoring_wire {
+struct ctdb_scripts_wire {
uint32_t num_scripts;
- struct ctdb_monitoring_script_wire scripts[1];
+ struct ctdb_script_wire scripts[1];
};
int ctdb_ctrl_getscriptstatus(struct ctdb_context *ctdb,
struct timeval timeout, uint32_t destnode,
- TALLOC_CTX *mem_ctx, struct ctdb_monitoring_wire **script_status);
+ TALLOC_CTX *mem_ctx, struct ctdb_scripts_wire **script_status);
struct debug_levels {
diff --git a/ctdb/include/ctdb_private.h b/ctdb/include/ctdb_private.h
index 2bf4f48e51..fde15f413e 100644
--- a/ctdb/include/ctdb_private.h
+++ b/ctdb/include/ctdb_private.h
@@ -455,7 +455,7 @@ struct ctdb_context {
TALLOC_CTX *event_script_ctx;
struct ctdb_event_script_state *current_monitor;
- struct ctdb_monitoring_wire *last_status;
+ struct ctdb_scripts_wire *last_status;
TALLOC_CTX *banning_ctx;