Commit Graph

17 Commits

Author SHA1 Message Date
psychon f88c7384b6 Clean up some includes
We no longer include Csocket.h in main.h because only few files actually need
it. (Only HTTPSock.h and Timers.h)

We also clean up some includes in Timers.h. It didn't actually include
the file it needed.

Oh and this also adds a warning to main.h if PATH_MAX is undefined. If this
happens, it is most likely a bug that needs to be addressed. (some missing
includes, I'd guess)


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1099 726aef4b-f618-498e-8847-2d620e286838
2008-06-21 11:20:30 +00:00
psychon 1f9e4f9601 Save some space for --disable-modules by not compiling template and http socks
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@927 726aef4b-f618-498e-8847-2d620e286838
2008-01-18 22:46:40 +00:00
psychon e72c445694 Clean up includes
All the headers are now self-contained (g++ Header.h -o /dev/null).

Some system headers where moved to the .cpp they are actually needed in,
some of our own headers are includes less. (Especially MD5.h)

Headers are sorted alphabetically while in e.g. FileUtils.cpp FileUtils.h
is the first file included.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@915 726aef4b-f618-498e-8847-2d620e286838
2008-01-07 21:31:16 +00:00
psychon eeec633e30 Update copyright header for 2008
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@910 726aef4b-f618-498e-8847-2d620e286838
2008-01-07 21:13:07 +00:00
psychon a09a7e79f6 Switch to the copyright headers the GPLv2 wants us to have
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@843 726aef4b-f618-498e-8847-2d620e286838
2007-09-21 18:55:33 +00:00
prozacx 6dcacaa79e Added contact info
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@752 726aef4b-f618-498e-8847-2d620e286838
2006-09-13 07:39:48 +00:00
prozacx 110037952f Added getter for IsLoggedIn()
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@696 726aef4b-f618-498e-8847-2d620e286838
2006-03-16 10:02:51 +00:00
prozacx d3137ae5ee Added setter SetLoggedIn()
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@691 726aef4b-f618-498e-8847-2d620e286838
2006-03-16 00:25:45 +00:00
prozacx 2fe96ce70e Let PrintFile() auto detect content-type by default
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@616 726aef4b-f618-498e-8847-2d620e286838
2006-02-08 06:09:31 +00:00
prozacx 3dc9b0a32e Added support for auto detecting content-types in PrintFile()
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@613 726aef4b-f618-498e-8847-2d620e286838
2006-02-08 05:47:31 +00:00
prozacx 0917335eab Added PrintFile() and refactored some things
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@610 726aef4b-f618-498e-8847-2d620e286838
2006-02-08 03:15:29 +00:00
prozacx 6def419579 Added HasParam()
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@530 726aef4b-f618-498e-8847-2d620e286838
2005-09-24 18:06:40 +00:00
prozacx a105770d93 Added support for custom content types
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@514 726aef4b-f618-498e-8847-2d620e286838
2005-09-20 01:57:10 +00:00
prozacx 0840525a0d Added GetParamValues() overload which returns a set instead of vector
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@457 726aef4b-f618-498e-8847-2d620e286838
2005-08-02 17:45:57 +00:00
prozacx 008c14e554 Added GetParamString() and m_bDone
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@452 726aef4b-f618-498e-8847-2d620e286838
2005-07-19 04:33:02 +00:00
prozacx c0ed0b4cb5 Fixed bug in POST by keeping track of buffer in member var
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@425 726aef4b-f618-498e-8847-2d620e286838
2005-07-10 17:56:51 +00:00
prozacx fcbd9c4ed5 HTTP Server
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@412 726aef4b-f618-498e-8847-2d620e286838
2005-07-05 09:24:21 +00:00