select.2: timeout is restrict too.
[dragonfly.git] / contrib / cryptsetup / src / cryptsetup.h
blob6b4ec0b915de1e72430e3f6347ca53471355d22f
1 #ifndef CRYPTSETUP_H
2 #define CRYPTSETUP_H
4 #ifdef HAVE_CONFIG_H
5 # include <config.h>
6 #endif
8 #include "lib/nls.h"
10 #define MAX_CIPHER_LEN 32
11 #define MAX_CIPHER_LEN_STR "32"
12 #define DEFAULT_CIPHER(type) (DEFAULT_##type##_CIPHER "-" DEFAULT_##type##_MODE)
14 #define log_dbg(x...) clogger(NULL, CRYPT_LOG_DEBUG, __FILE__, __LINE__, x)
15 #define log_std(x...) clogger(NULL, CRYPT_LOG_NORMAL, __FILE__, __LINE__, x)
16 #define log_verbose(x...) clogger(NULL, CRYPT_LOG_VERBOSE, __FILE__, __LINE__, x)
17 #define log_err(x...) clogger(NULL, CRYPT_LOG_ERROR, __FILE__, __LINE__, x)
19 #endif /* CRYPTSETUP_H */