summaryrefslogtreecommitdiff
path: root/win/inspircd_win32wrapper.h
Commit message (Expand)AuthorAgeFilesLines
* Remove excessive gettimeofday system calls•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12293 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-01-181-1/+2
* Fix up finding dns server to use for windows to match latest configreader cha...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11892 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2009-10-171-1/+1
* Define DISABLE_WRITEV and use the IOHook single-copy method for Windows send()•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11848 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-121-8/+1
* Include psapi.h to fix stats.cpp compiling.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11840 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2009-10-111-0/+1
* 3rd time lucky? Fix again for setsockopt.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11825 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2009-10-101-3/+0
* Slight tweak to setsockopt fix.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11824 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2009-10-101-0/+3
* * Fix inspsocket to not include uio.h on windows.•••* Wrap writev and some structs to fix inspsocket compile on win. * Fix a few compile errors due to latest trunk changes in win32wrapper code. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11822 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2009-10-101-0/+11
* Remove InspIRCd* parameters and fields•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11763 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-261-4/+3
* win: vs2010 requires this to link in process memory retrieval stuff•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11521 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-08-151-0/+9
* win: don't define error constants on VS2009, they're defined for us (finally)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11520 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-08-151-6/+8
* Fix types on Windows. Hooray for not supporting stdint.h. Thanks to Special.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11471 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-08-031-2/+2
* Fix our getops implementation on windows. Have optind available, and make sur...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11466 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2009-08-021-0/+1
* No forget using windows' broken inet_pton and inet_ntop, they are not POSIX c...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11460 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2009-08-021-4/+6
* Since Windows SDK6.0a inet_pton and inet_ntop is defined if (NTDDI_VERSION >=...•••Fixes the breakage Brain mentions in r11407. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11459 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2009-08-021-0/+2
* more fixes. inet_pton is now in error, this is because the windows 6.0 sdk de...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11407 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2009-06-121-2/+3
* usleep() is no longer needed, and should not be needed in the future•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11252 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-03-231-3/+0
* Update all wiki links to point to the new wiki. This was done automatically w...•••for file in $(find -type f -and -not -path '*/.svn/*' -and -not -name '*.so') ; do sed -e 's#http://www.inspircd.org/wiki#http://wiki.inspircd.org#' -e 's#http://wiki.inspircd.org/index.php/#http://wiki.inspircd.org/#' -i $file ; done git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11223 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar psychon2009-03-151-1/+1
* Fix win32 build issue.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11204 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-03-101-0/+1
* Update copyrights for 2009.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10932 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-01-021-1/+1
* Place CRT debug defines in win32wrapper.h, so they are defined everywhere. Th...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10917 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-12-271-0/+7
* Patch by dz to remove the one usage of strdup/strtok_r, which is very un-C++ ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10543 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar special2008-09-141-3/+0
* sql api and m_mysql compile fixes for windows•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10393 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-09-051-0/+2
* Properly give the service specific exit code on failure to start. Now we just...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10240 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-08-241-0/+2
* work in progress•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10238 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-08-241-0/+2
* add support for windows service. This now is part of inspircd itself being as...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10193 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-08-211-0/+3
* properly coreexport the getcpu() function etc•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10184 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-08-201-9/+9
* WMI calls for getting cpu percentage of current process. This code was a biat...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10179 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-08-201-0/+5
* fix compile errors under debug profile in windows.•••fix some warnings too. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10108 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-08-061-0/+2
* Base stuff for named pipe IPC•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9910 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-06-151-11/+0
* Make FD_SETSIZE larger. We wont ever have this many users via select() on win...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9726 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-05-151-1/+1
* Mapping for mkdir() to _mkdir() for windows•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9473 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-04-121-0/+3
* Why the fuck are standard functions all prefixed with a _ on windows???•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9046 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-02-261-0/+1
* #define _popen popen•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9036 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-02-261-0/+4
* Fix here too, to allow FD_SETSIZE > 64. If this doesnt work it will need to b...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8890 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-02-101-0/+3
* Header update: 2007 -> 2008•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8694 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-01-101-1/+1
* Fix here too•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8237 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-201-0/+3
* Remove crashdump stuff•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8192 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-141-6/+1
* * Fixed some incorrect declarations in IOCPEngine•••* Fixed the virtual socket wrapper functions in IOCPEngine {these should really be inlined on unix} * Fixed several compilation issues under Win32 * Fixed calls to close() which should've been changed to SE->Close() + Added a crashdump saving system to Win32 builds. Dumps are saved in the format of dump-<exename>-<year>-<month>-<day>-<hour>-<minute>-<second>.dmp in the working directory. Enabled by default, undefine ENABLE_CRASHDUMPS to disable. + Added m_operflood, this is a module I've had lying around for some time but some users may like it as it allows unreal-like behaviour without increasing flood limits for non-opers. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8015 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar burlex2007-09-041-0/+10
* Move the close() wrapper out of the win32wrapper.h, and into its new proper p...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7812 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-231-3/+0
* Craquity craq De-craq!•••This is probably broken on windows, do not attempt to use there yet unless you like broken stuff. Cant say for sure as i havent even tried to build yet and most likely wont tonight. --- Abstract most of the berkely socket API out into SocketEngine derived classes. SocketEngine base class implements standard berkely sockets that 'real mens systems' like linux and freebsd have. For socketengine_iocp we implement the windows specific nonesense like the special things needed for udp and accept (ick). All this to eliminate a bunch of ifdefs. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7810 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-231-6/+0
* * include/caller.h will now compile correctly on Windows platforms.•••+ Implemented gettimeofday in win32 wrapper, link rtt's will now display in milliseconds. * SocketEngine::BoundsCheckFd will now handle Windows event handler cases correctly. (fixing writing to sockets not working) * Fixed VC71 project. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7723 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar burlex2007-08-151-0/+2
* make sure that the pointers are set up correctly for win32•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7600 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-07-271-0/+2
* SIGHUP needs to be #define'd on windows. This is an i-hate-windows day today.•••Also, define WIN32_LEAN_AND_MEAN as we should be able to get away with using it now we dont have the shell functions git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7595 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-07-271-0/+4
* Fix compile errors in windows•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7592 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-07-271-4/+4
* Needs testbuilding in windows. I will probably do this in a minute.•••More clever tricks to eliminate ifdefs. With a bit of function pointer and functor magic we may be able to eliminate all ifdefs git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7590 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-07-271-0/+4
* Move a bunch of stuff around for tidyness, win32 functions keep creeping into...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7588 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-07-271-3/+14
* OOPS! We try again, since I'm smoking craq. LF is 0x0a NOT CR.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7456 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-07-161-1/+189
* 'svn propset -R svn:eol-style CR *' Set to UNIX-style always. Binaries are au...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7454 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-07-161-189/+1
* Add flags to /STATS s output, and nuke some ^M•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7453 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-07-161-1/+1
* Ok windows.. YOU WIN :< .. but at least I can use MAXBUF now and configure wi...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7452 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-07-161-3/+3