111 Commits

Author SHA1 Message Date
Daniel Adolfsson
eefa9cb881 Multiple changes
* Add '-d' to "daemonize". Will also enable syslogging.

* Fix a couple of bugs in 'session'.

* Clean up 'log', and use LOG_* macros instead.

* Add syslog(bool) to 'log' to enable/disable the use of syslog.
2011-09-17 16:37:24 +02:00
Daniel Adolfsson
70933e0830 iface proper destructor
Inside iface::~iface(), make sure to close any open sockets
and restore ALLMULTI to it's original value.
2011-09-17 02:22:33 +02:00
Daniel Adolfsson
62edaf3c6b Fix several bugs and clean up the code 2011-09-17 01:10:23 +02:00
Daniel Adolfsson
370ba70182 Multiple changes
- Clean up some junk code that was left over.

- Replace ptr<> with strong_ptr<> and weak_ptr<> to easier distinguish
  between weak and strong pointers.

- Fix a couple of bugs.
2011-09-16 22:59:37 +02:00
Daniel Adolfsson
6a1306cdd5 Major changes 2011-09-16 22:59:35 +02:00
Daniel Adolfsson
e37df74b8e Major changes 2011-09-16 22:59:33 +02:00
Daniel Adolfsson
456813fb9e Update copyright headers to include an e-mail address 2011-09-16 22:59:31 +02:00
Daniel Adolfsson
35567ed082 Major changes 2011-09-16 22:59:29 +02:00
Daniel Adolfsson
77b328ad15 Fix ptr<> nested release()
Fix a bug with ptr<> that at some occasions will try to free _ref
multiple times when release() becomes nested.
2011-09-16 22:59:25 +02:00
Daniel Adolfsson
5efe4124d7 Update copyright headers to include an e-mail address 2011-09-16 22:59:22 +02:00
Daniel Adolfsson
7d84dbeb18 Initial commit 2011-09-13 21:26:12 +02:00