]> git.ozlabs.org Git - petitboot/blobdiff - lib/util/util.h
discover: Nicely format IPMI response buffers
[petitboot] / lib / util / util.h
index 39966d0b7b0a2586b7ce8d857871c5379d4ecb31..a579221a63276ce7b5d70887925324bf762638fd 100644 (file)
@@ -50,6 +50,7 @@
        do { (void)sizeof(char[(x)?1:-1]); } while (0)
 
 void mac_str(uint8_t *mac, unsigned int maclen, char *buf, unsigned int buflen);
+char *format_buffer(void *ctx, const uint8_t *buf, unsigned int len);
 
 #endif /* UTIL_H */