chiark
/
gitweb
/
~ianmdlvl
/
secnet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
logging: site: Log state on PHASE_RUN entry instead of initially
[secnet.git]
/
secnet.h
diff --git
a/secnet.h
b/secnet.h
index 3f5a197591c5cdfac37ba7ad710103586b5e04a9..fd4b48f70cbeed0fd78d9ccafa7f201c8668292d 100644
(file)
--- a/
secnet.h
+++ b/
secnet.h
@@
-506,7
+506,6
@@
struct random_if {
/* SIGPUBKEY interface */
/* SIGPUBKEY interface */
-typedef void sig_sethash_fn(void *st, struct hash_if *hash);
typedef void sig_dispose_fn(void *st);
typedef bool_t sig_unpick_fn(void *sst, struct buffer_if *msg,
typedef void sig_dispose_fn(void *st);
typedef bool_t sig_unpick_fn(void *sst, struct buffer_if *msg,
@@
-515,7
+514,6
@@
typedef bool_t sig_checksig_fn(void *st, uint8_t *data, int32_t datalen,
const struct alg_msg_data *sig);
struct sigpubkey_if {
void *st;
const struct alg_msg_data *sig);
struct sigpubkey_if {
void *st;
- sig_sethash_fn *sethash; /* must be called before use, if non-0 */
sig_unpick_fn *unpick;
sig_checksig_fn *check;
const struct hash_if *hash;
sig_unpick_fn *unpick;
sig_checksig_fn *check;
const struct hash_if *hash;
@@
-530,7
+528,6
@@
typedef bool_t sig_makesig_fn(void *st, uint8_t *data, int32_t datalen,
struct buffer_if *msg);
struct sigprivkey_if {
void *st;
struct buffer_if *msg);
struct sigprivkey_if {
void *st;
- sig_sethash_fn *sethash; /* must be called before use, if non-0 */
sig_makesig_fn *sign;
const struct hash_if *hash;
sig_dispose_fn *dispose;
sig_makesig_fn *sign;
const struct hash_if *hash;
sig_dispose_fn *dispose;
@@
-541,8
+538,7
@@
struct sigprivkey_if {
typedef struct sigprivkey_if *privcache_lookup_fn(void *st,
const struct sigkeyid *id,
struct log_if*);
typedef struct sigprivkey_if *privcache_lookup_fn(void *st,
const struct sigkeyid *id,
struct log_if*);
- /* Return is valid only until you return from the current event!
- * You do not need to call ->sethash. */
+ /* Return is valid only until you return from the current event! */
struct privcache_if {
void *st;
struct privcache_if {
void *st;
@@
-663,11
+659,11
@@
void log_early_init(void);
/* Pretty much a placeholder; allows starting and stopping of processing,
key expiry, etc. */
/* Pretty much a placeholder; allows starting and stopping of processing,
key expiry, etc. */
-typedef void site_
control_fn(void *st, bool_t run
);
+typedef void site_
startup_fn(void *st
);
typedef uint32_t site_status_fn(void *st);
struct site_if {
void *st;
typedef uint32_t site_status_fn(void *st);
struct site_if {
void *st;
- site_
control_fn *control
;
+ site_
startup_fn *startup
;
site_status_fn *status;
};
site_status_fn *status;
};