summaryrefslogtreecommitdiff
path: root/module/storage.h
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2009-06-18 17:12:22 +0000
committerStef Walter <stef@memberwebs.com>2009-06-18 17:12:22 +0000
commit4bf87cb9f4f6b9812c06a8d2c500869c48ebc2dc (patch)
tree72e261b85e8529925992fb330aeab3d5b928f2f6 /module/storage.h
parent407df90ad78d83cf3666db25af71a9f534123472 (diff)
Complete almost all code, compiles.
Diffstat (limited to 'module/storage.h')
-rw-r--r--module/storage.h34
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_ */