1 /* Copyright (c) 2001, Matej Pfajfar.
2 * Copyright (c) 2001-2004, Roger Dingledine.
3 * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
4 * Copyright (c) 2007-2021, The Tor Project, Inc. */
5 /* See LICENSE for licensing information */
8 * \file crypto_nss_mgt.h
10 * \brief Headers for crypto_nss_mgt.c
13 #ifndef TOR_CRYPTO_NSS_MGT_H
14 #define TOR_CRYPTO_NSS_MGT_H
19 /* global nss state */
20 const char *crypto_nss_get_version_str(void);
21 const char *crypto_nss_get_header_version_str(void);
23 void crypto_nss_log_errors(int severity
, const char *doing
);
25 void crypto_nss_early_init(int nss_only
);
26 int crypto_nss_late_init(void);
28 void crypto_nss_global_cleanup(void);
30 void crypto_nss_prefork(void);
31 void crypto_nss_postfork(void);
32 #endif /* defined(ENABLE_NSS) */
34 #endif /* !defined(TOR_CRYPTO_NSS_MGT_H) */