aboutsummaryrefslogtreecommitdiffstats
path: root/src/state.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-08-05 21:26:44 +0200
committerMattias Andrée <maandree@kth.se>2016-08-05 21:26:44 +0200
commit20e81300c63e41c3fc8bf7dea6f5438fcf92da55 (patch)
tree922342e6439f90ccd4e186a5a703314630d5ff17 /src/state.h
parentFix memory leak (diff)
downloadcoopgammad-20e81300c63e41c3fc8bf7dea6f5438fcf92da55.tar.gz
coopgammad-20e81300c63e41c3fc8bf7dea6f5438fcf92da55.tar.bz2
coopgammad-20e81300c63e41c3fc8bf7dea6f5438fcf92da55.tar.xz
typo + state dumping
Signed-off-by: Mattias Andrée <maandree@kth.se>
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);