From de4009fb4de679b2efe89e2736436060eb4a8e6d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?P=C5=99emysl=20Janouch?=
Date: Wed, 13 May 2015 06:57:06 +0200
Subject: Aborting units -> stopping units
---
plugin-api.h | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
(limited to 'plugin-api.h')
diff --git a/plugin-api.h b/plugin-api.h
index 740967f..3431e3c 100644
--- a/plugin-api.h
+++ b/plugin-api.h
@@ -39,7 +39,7 @@ struct service
int flags; ///< Service flags
void *user_data; ///< User data
- // scan_init -> on_data* -> [on_eof/on_error] -> on_aborted -> scan_free
+ // scan_init -> on_data* -> [on_eof/on_error] -> on_stopped -> scan_free
/// Initialize a scan, returning a handle to it
void *(*scan_init) (struct service *self, struct unit *u);
@@ -58,8 +58,8 @@ struct service
/// Network or other error has occured
void (*on_error) (void *handle);
- /// The scan has been aborted
- void (*on_aborted) (void *handle);
+ /// The scan has been stopped
+ void (*on_stopped) (void *handle);
};
struct plugin_api
@@ -83,7 +83,7 @@ struct plugin_api
void (*unit_add_info) (struct unit *u, const char *result);
/// Abort the scan, close the connection
- void (*unit_abort) (struct unit *u);
+ void (*unit_stop) (struct unit *u);
};
struct plugin_info
--
cgit v1.2.3