mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2025-11-15 07:38:12 +00:00
sdcp-v2: Move SDCP support from using NSS to OpenSSL 3.0 and implement for egismoc
This commit is contained in:
@@ -96,3 +96,32 @@
|
||||
* Same as BUG_ON() but is always true.
|
||||
*/
|
||||
#define BUG() BUG_ON (1)
|
||||
|
||||
/*
|
||||
* Custom-defined logging functions are wrapped in macros for convenience so
|
||||
* that the caller does not have to pass G_LOG_DOMAIN every time.
|
||||
*/
|
||||
|
||||
void fp_dbg_hex_dump_bytes (const gchar *log_domain,
|
||||
const guint8 *buf,
|
||||
gsize len);
|
||||
|
||||
/**
|
||||
* fp_dbg_hex_dump_bytes:
|
||||
* @buf: Bytes buffer to dump
|
||||
* @len: Length of @buf to dump
|
||||
*
|
||||
* Prints hex dump of @buf to fp_dbg()
|
||||
*/
|
||||
#define fp_dbg_hex_dump_bytes(buf, len) fp_dbg_hex_dump_bytes (G_LOG_DOMAIN, buf, len)
|
||||
|
||||
void fp_dbg_hex_dump_gbytes (const gchar *log_domain,
|
||||
GBytes *gbytes);
|
||||
|
||||
/**
|
||||
* fp_dbg_hex_dump_gbytes:
|
||||
* @gbytes: #GBytes to dump
|
||||
*
|
||||
* Prints hex dump of @gbytes to fp_dbg()
|
||||
*/
|
||||
#define fp_dbg_hex_dump_gbytes(gbytes) fp_dbg_hex_dump_gbytes (G_LOG_DOMAIN, gbytes)
|
||||
|
||||
Reference in New Issue
Block a user