aboutsummaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h
index 6d9b27f127..f2663695e5 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -2408,6 +2408,16 @@ int rep_hist_get_predicted_internal(time_t now, int *need_uptime,
int any_predicted_circuits(time_t now);
int rep_hist_circbuilding_dormant(time_t now);
+typedef enum {
+ SIGN_DIR, SIGN_RTR,
+ VERIFY_DIR, VERIFY_RTR,
+ ENC_ONIONSKIN, DEC_ONIONSKIN,
+ TLS_HANDSHAKE_C, TLS_HANDSHAKE_S,
+ REND_CLIENT, REND_MID, REND_SERVER,
+} pk_op_t;
+void note_crypto_pk_op(pk_op_t operation);
+void dump_pk_ops(int severity);
+
void rep_hist_free_all(void);
/********************************* rendclient.c ***************************/