aboutsummaryrefslogtreecommitdiff
path: root/plugin-api.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugin-api.h')
-rw-r--r--plugin-api.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin-api.h b/plugin-api.h
index 3406308..7a73c59 100644
--- a/plugin-api.h
+++ b/plugin-api.h
@@ -50,11 +50,11 @@ struct service
// FIXME: the dependency on `struct str' is not very good
void (*on_data) (void *handle, struct unit *u, struct str *data);
- // XXX: do we need these at all? Is there any use for them?
-
/// Server has closed the connection
void (*on_eof) (void *handle, struct unit *u);
+ // XXX: do we need these at all? Is there any use for them?
+
/// Network or other error has occured
void (*on_error) (void *handle, struct unit *u);