Added silc_hexdump.
[crypto.git] / lib / silcutil / silcutil.h
index f645569f2163fcb0f4ecba46eff72d18f3907a7b..c6b0d43f1938fb34d6bbba40f6d494cb222aa3f5 100644 (file)
@@ -433,4 +433,20 @@ char *silc_get_real_name();
 #define silc_va_copy(dest, src) dest = src;
 #endif
 
+/****f* silcutil/SilcUtilAPI/silc_hexdump
+ *
+ * SYNOPSIS
+ *
+ *    void silc_hexdump(const unsigned char *data, SilcUInt32 data_len,
+ *                      FILE *output);
+ *
+ * DESCRIPTION
+ *
+ *    Dumps the `data' of length of `data_len' bytes as HEX.  The `output'
+ *    file specifies the destination.
+ *
+ ***/
+void silc_hexdump(const unsigned char *data, SilcUInt32 data_len,
+                 FILE *output);
+
 #endif /* !SILCUTIL_H */