diff options
Diffstat (limited to 'module/storage.h')
-rw-r--r-- | module/storage.h | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/module/storage.h b/module/storage.h deleted file mode 100644 index 4c73da6..0000000 --- a/module/storage.h +++ /dev/null @@ -1,34 +0,0 @@ -#ifndef BOARD_H_ -#define BOARD_H_ - -#include <stdlib.h> - -/* Communications white-board between processes/threads */ - -typedef struct sid_storage sid_storage_t; - -typedef struct sid_assoc { - const char *server; - const char *handle; - const char *type; - const unsigned char *secret; - const size_t n_secret; - time_t expires; -} sid_assoc_t; - -int singleid_board_check_nonce (sid_storage_t *storage, - const char *nonce); - -int singleid_board_store_assoc (sid_storage_t *storage, - const sid_assoc_t *assoc); - -int singleid_board_find_assoc (sid_storage_t *storage, - const char *server, - const char *handle, - sid_assoc_t *assoc); - -void singleid_board_invalidate_assoc (sid_storage_t *storage, - const char *server, - const char *handle); - -#endif /* BOARD_H_ */ |