From 659bbd0bef562badec1bc2d3c092a0d8781f6878 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Wed, 3 Jun 2015 21:21:57 +0200 Subject: introduce a struct address to store the information --- dyndhcpd.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'dyndhcpd.h') diff --git a/dyndhcpd.h b/dyndhcpd.h index 75724e5..96a7cf3 100644 --- a/dyndhcpd.h +++ b/dyndhcpd.h @@ -24,6 +24,11 @@ #include "config.h" #include "version.h" +struct address { + struct in_addr i; + char c[INET_ADDRSTRLEN]; +}; + /*** replace ***/ int replace(char ** config, size_t *length, const char ** tmp, const char * template, const char * value); -- cgit v1.2.3-54-g00ecf