ldns(3) Library Functions Manual ldns(3)

ldns_octet - removes escaped from the input

#include <stdint.h>
#include <stdbool.h>

#include <ldns/ldns.h>

ldns_status ldns_octet(char *word, size_t *length);

ldns_octet() removes \\DDD, \\[space] and other escapes from the input. See RFC 1035, section 5.1.
word: what to check
length: the string
Returns ldns_status mesg

The ldns team at NLnet Labs.

Please report bugs to dns-team@nlnetlabs.nl or on GitHub at https://github.com/NLnetLabs/ldns/issues

Copyright (c) 2004 - 2006 NLnet Labs.

Licensed under the BSD License. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

ldns_rdf. And perldoc Net::DNS, RFC1034, RFC1035, RFC4033, RFC4034 and RFC4035.

This manpage was automatically generated from the ldns source code.

30 May 2006