New options object
commita8cbebd3bb17bb0d8e550f0d84f52570f967720d
authorJames Earl Spahlinger <james@nixeagle.org>
Thu, 29 May 2008 09:45:46 +0000 (29 05:45 -0400)
committerJames Earl Spahlinger <james@nixeagle.org>
Thu, 29 May 2008 17:36:22 +0000 (29 13:36 -0400)
treecefd91ef9657ce761e1158c7c0facd30140690fb
parent2ded5984973cba826f37bc2f17455c2b61ccd13b
New options object

Add a new options object. By default all user configuration items will be
set here. In short any program option that can be set by the user
will appear in this options object.

Also in this commit, I've removed a bunch of extra items that are not in
use by mtalk to avoid confusing users.

Program options work/linking with boost program options

To compile this now we require boost program options. The
relevant option has been added to SConstruct. There is no
checking that there is boost installed on the system yet
though.

There are 3 options, only one of which actually does something

1. --help -h
2. --version or -v
3. --local-port or -p
14 files changed:
SConstruct
daemon/afile [deleted file]
daemon/options.cpp [new file with mode: 0644]
daemon/options.h [new file with mode: 0644]
lib/bufsocket.cpp [deleted file]
lib/bufsocket.h [deleted file]
lib/connectiondetails.cpp [deleted file]
lib/connectiondetails.h [deleted file]
lib/protocolbase.cpp [deleted file]
lib/protocolbase.h [deleted file]
lib/socket.cpp [deleted file]
lib/socket.h [deleted file]
lib/socketstate.h [deleted file]
tests/mtalkprototest.cpp