Moved more generic functions to util.[ch]

Added resolve.c to simply resolve a given host name
This commit is contained in:
Daniel Stenberg 2005-05-17 10:22:22 +00:00
parent ede9fb4fcc
commit 84fd4686e2
6 changed files with 238 additions and 157 deletions

View file

@ -25,12 +25,13 @@ AUTOMAKE_OPTIONS = foreign
INCLUDES = -I$(top_srcdir)/lib -I$(top_srcdir)/include
noinst_PROGRAMS = sws getpart sockfilt
noinst_PROGRAMS = sws getpart sockfilt resolve
useful = getpart.c getpart.h $(top_srcdir)/lib/strequal.c \
$(top_srcdir)/lib/base64.c $(top_srcdir)/lib/mprintf.c \
$(top_srcdir)/lib/memdebug.c $(top_srcdir)/lib/timeval.c
resolve_SOURCES= resolve.c util.c util.h $(useful)
sws_SOURCES= sws.c util.c util.h $(useful)
sockfilt_SOURCES = sockfilt.c util.c util.h $(useful) \
$(top_srcdir)/lib/inet_pton.c