s3:include: remove typedef user_struct
[Samba/gebeck_regimport.git] / lib / tdb2 / test / logging.h
blob5f517dc592601c30cec1e4848a2af3cc438fea71
1 #ifndef TDB2_TEST_LOGGING_H
2 #define TDB2_TEST_LOGGING_H
3 #include "tdb2.h"
4 #include <stdbool.h>
5 #include <string.h>
7 extern bool suppress_logging;
8 extern const char *log_prefix;
9 extern unsigned tap_log_messages;
10 extern union tdb_attribute tap_log_attr;
11 extern char *log_last;
13 void tap_log_fn(struct tdb_context *tdb,
14 enum tdb_log_level level,
15 enum TDB_ERROR ecode,
16 const char *message, void *priv);
17 #endif /* TDB2_TEST_LOGGING_H */