aboutsummaryrefslogtreecommitdiffstats
path: root/src/state.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/state.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/state.h b/src/state.h
index 32a6cb1..1cbe482 100644
--- a/src/state.h
+++ b/src/state.h
@@ -81,7 +81,7 @@ extern volatile sig_atomic_t terminate;
/**
* Has the process receive a to
* disconnect from or reconnect to
- * the site? 1 if disconnct, 2 if
+ * the site? 1 if disconnect, 2 if
* reconnect, 0 otherwise.
*/
extern volatile sig_atomic_t connection;
@@ -159,6 +159,11 @@ extern int preserve;
/**
+ * Dump the state to stderr
+ */
+void state_dump(void);
+
+/**
* Destroy the state
*/
void state_destroy(void);