Electroneum
Loading...
Searching...
No Matches
readhex.h File Reference

Go to the source code of this file.

Functions

void hex_to_buf (struct sldns_buffer *pkt, const char *hex)

Detailed Description

Declarations useful for the unit tests.

Definition in file readhex.h.

Function Documentation

◆ hex_to_buf()

void hex_to_buf ( struct sldns_buffer * pkt,
const char * hex )

Helper to convert hex string to packet buffer.

Parameters
pktbuffer to put result in.
hexstring of hex data. Spaces and ';...' comments are skipped.