refactor and introduce without server configure option 34/2934/1
authorAndy Green <andy.green@linaro.org>
Fri, 18 Jan 2013 03:43:21 +0000 (11:43 +0800)
committerKevron Rees <kevron_m_rees@linux.intel.com>
Thu, 7 Mar 2013 21:01:26 +0000 (13:01 -0800)
commitfff0b53b9c19846cc7d28b11553fbe688c04e6db
tree1e148a0b947db374ead1c3aba026d65936ca37d8
parentc1a9376690556328f8c3c336620c46ad2673a7c8
refactor and introduce without server configure option

Move server-only stuff into their own files and make building
that depend on not having --without-server on the configure

Make fragments in other places conditional as well

Remove client-related members from struct libwebscket when
building LWS_NO_CLIENT

Apps:

normal: build test server, client, fraggle, ping
--without-client: build test server
--without-server: build test client, ping

Signed-off-by: Andy Green <andy.green@linaro.org>
README-test-server
configure.ac
lib/Makefile.am
lib/handshake.c
lib/libwebsockets.c
lib/parsers.c
lib/private-libwebsockets.h
lib/server-handshake.c [new file with mode: 0644]
lib/server.c [new file with mode: 0644]
test-server/Makefile.am