Add TALLOC_CTX pointer to strhex_to_data_blob for consistency with Samba
[ira/wip.git] / lib / util / util.h
index 47adf067f0a8c6e251f91fd46a1393a186b3e6e4..38b59862fc6c6365c6814f48d7b5ad2408c2f12e 100644 (file)
@@ -241,7 +241,7 @@ _PUBLIC_ size_t strhex_to_str(char *p, size_t len, const char *strhex);
 /** 
  * Parse a hex string and return a data blob. 
  */
-_PUBLIC_ _PURE_ DATA_BLOB strhex_to_data_blob(const char *strhex) ;
+_PUBLIC_ _PURE_ DATA_BLOB strhex_to_data_blob(TALLOC_CTX *mem_ctx, const char *strhex) ;
 
 /**
  * Routine to print a buffer as HEX digits, into an allocated string.