summaryrefslogtreecommitdiff
path: root/ctdb/common
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2018-05-10 13:50:01 +1000
committerMartin Schwenke <martins@samba.org>2018-06-05 22:34:18 +0200
commit4d27c11ce26bf835448862b6d901056125b5414f (patch)
tree4076b4b2df4efa71e7bc413ea9e0d9e55d19a9e0 /ctdb/common
parenta883f8b0920d68d2d3b923463de59384a4eb8e8f (diff)
downloadsamba-4d27c11ce26bf835448862b6d901056125b5414f.tar.gz
ctdb-common: Rename run_event_script_list to run_event_list
Signed-off-by: Amitay Isaacs <amitay@gmail.com> Reviewed-by: Martin Schwenke <martin@meltin.net>
Diffstat (limited to 'ctdb/common')
-rw-r--r--ctdb/common/run_event.c6
-rw-r--r--ctdb/common/run_event.h6
2 files changed, 6 insertions, 6 deletions
diff --git a/ctdb/common/run_event.c b/ctdb/common/run_event.c
index c78d956f588..aba9014bbaf 100644
--- a/ctdb/common/run_event.c
+++ b/ctdb/common/run_event.c
@@ -389,9 +389,9 @@ static int run_event_script_status(struct run_event_script *script)
return ret;
}
-int run_event_script_list(struct run_event_context *run_ctx,
- TALLOC_CTX *mem_ctx,
- struct run_event_script_list **output)
+int run_event_list(struct run_event_context *run_ctx,
+ TALLOC_CTX *mem_ctx,
+ struct run_event_script_list **output)
{
struct run_event_script_list *script_list;
int ret, i;
diff --git a/ctdb/common/run_event.h b/ctdb/common/run_event.h
index 72878e150a5..361ef56e398 100644
--- a/ctdb/common/run_event.h
+++ b/ctdb/common/run_event.h
@@ -87,9 +87,9 @@ int run_event_init(TALLOC_CTX *mem_ctx, struct run_proc_context *run_proc_ctx,
* @param[out] output List of valid scripts
* @return 0 on success, errno on failure
*/
-int run_event_script_list(struct run_event_context *run_ctx,
- TALLOC_CTX *mem_ctx,
- struct run_event_script_list **output);
+int run_event_list(struct run_event_context *run_ctx,
+ TALLOC_CTX *mem_ctx,
+ struct run_event_script_list **output);
/**
* @brief Enable a script