summaryrefslogtreecommitdiff
path: root/gdhcp/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdhcp/common.h')
-rw-r--r--gdhcp/common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdhcp/common.h b/gdhcp/common.h
index c692799..1ab9a7c 100644
--- a/gdhcp/common.h
+++ b/gdhcp/common.h
@@ -170,6 +170,7 @@ static const uint8_t dhcp_option_lengths[] = {
[OPTION_U32] = 4,
};
+char *malloc_option_value_string(uint8_t *option, GDHCPOptionType type);
uint8_t *dhcp_get_option(struct dhcp_packet *packet, int code);
uint8_t *dhcpv6_get_option(struct dhcpv6_packet *packet, uint16_t pkt_len,
int code, uint16_t *option_len, int *option_count);