aboutsummaryrefslogtreecommitdiff
path: root/src/state.h
diff options
context:
space:
mode:
authorJulien Dessaux2018-11-03 00:49:22 +0100
committerJulien Dessaux2018-11-07 14:37:50 +0100
commit03f712e58327e5b15856082074062b22fccb30bd (patch)
tree9671dcf756338dff4fe19daec2309b042977ba00 /src/state.h
parentBegan implementing configuration fetching from an sshportal mysql database (diff)
downloadbastion-03f712e58327e5b15856082074062b22fccb30bd.tar.gz
bastion-03f712e58327e5b15856082074062b22fccb30bd.tar.bz2
bastion-03f712e58327e5b15856082074062b22fccb30bd.zip
Implemented session id management and session logs in database
Diffstat (limited to '')
-rw-r--r--src/state.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/state.h b/src/state.h
index df5bd6e..0ab70bc 100644
--- a/src/state.h
+++ b/src/state.h
@@ -5,8 +5,8 @@ char state_set_ssh_destination(const char * dest);
const char * state_get_ssh_destination(void);
char state_set_bastion_username(const char * name);
const char * state_get_bastion_username(void);
-char state_set_session_id(const int id);
-int state_get_session_id(void);
+char state_set_session_id(const unsigned long long id);
+unsigned long long state_get_session_id(void);
void state_clean(void);
#endif