curl tool: create tool_myfunc.[ch] which later on will hold my_* functions

Additionally function my_useragent() now provides default User-Agent string
This commit is contained in:
Yang Tse 2011-09-18 01:58:18 +02:00
parent f50d4647d0
commit 260b0f4d0c
8 changed files with 105 additions and 19 deletions

View file

@ -16,12 +16,13 @@ CURLX_ONES = $(top_srcdir)/lib/strtoofft.c \
CURL_CFILES = main.c hugehelp.c urlglob.c writeout.c writeenv.c \
getpass.c homedir.c curlutil.c os-specific.c xattr.c \
tool_cfgable.c tool_convert.c tool_mfiles.c
tool_cfgable.c tool_convert.c tool_mfiles.c tool_myfunc.c
CURL_HFILES = hugehelp.h setup.h config-win32.h config-mac.h \
config-riscos.h urlglob.h version.h os-specific.h \
writeout.h writeenv.h getpass.h homedir.h curlutil.h \
xattr.h tool_cfgable.h tool_convert.h tool_mfiles.h
xattr.h tool_cfgable.h tool_convert.h tool_mfiles.h \
tool_myfunc.h
curl_SOURCES = $(CURL_CFILES) $(CURLX_ONES) $(CURL_HFILES)