Add a function to decode a hex string to binary.
[dhcpcd-ui] / src / libdhcpcd / dhcpcd.h
index 2adb4da676ca8b244d308e1853ba73b83bae0756..604ac6a6fdf781c4884d0cc0aa19fc59cace4337 100644 (file)
@@ -206,6 +206,7 @@ int dhcpcd_strnunvis(char *dst, size_t dlen, const char *src);
 #endif
 ssize_t dhcpcd_decode(char *dst, size_t dlen, const char *src);
 ssize_t dhcpcd_decode_shell(char *dst, size_t dlen, const char *src);
+ssize_t dhcpcd_decode_hex(char *dst, size_t dlen, const char *src);
 char * dhcpcd_if_message(DHCPCD_IF *i, bool *new_msg);
 
 ssize_t dhcpcd_command(DHCPCD_CONNECTION *, const char *, char **);