warzone2100/lib/netplay/miniupnpc
Christian Ohm b0c4e40934 Include files needed for win32 cross-building.
Building from tarball still doesn't work, since nsis wants the gmo files in the
build dir while they are in the source dir.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9146 4a71c877-e1ca-e34f-864e-861f7616d084
2010-02-09 20:04:34 +01:00
..
man3 Include MiniUPnPc. 2009-11-22 16:20:02 +01:00
Changelog.txt Include MiniUPnPc. 2009-11-22 16:20:02 +01:00
LICENCE Include MiniUPnPc. 2009-11-22 16:20:02 +01:00
Makefile.am Include files needed for win32 cross-building. 2010-02-09 20:04:34 +01:00
Makefile.mingw Include MiniUPnPc. 2009-11-22 16:20:02 +01:00
Makefile.old Rename miniupnp Makefile to prepare for automake. 2009-11-22 16:20:02 +01:00
README Include MiniUPnPc. 2009-11-22 16:20:02 +01:00
bsdqueue.h Include MiniUPnPc. 2009-11-22 16:20:02 +01:00
codelength.h Include MiniUPnPc. 2009-11-22 16:20:02 +01:00
declspec.h Integrate miniupnpc. 2009-11-22 16:20:02 +01:00
igd_desc_parse.c Include MiniUPnPc. 2009-11-22 16:20:02 +01:00
igd_desc_parse.h Include MiniUPnPc. 2009-11-22 16:20:02 +01:00
makefile.win32 libminiupnpc has been integrated into MinGW build process. 2009-11-22 16:20:03 +01:00
mingw32make.bat Include MiniUPnPc. 2009-11-22 16:20:02 +01:00
minisoap.c Integrate miniupnpc. 2009-11-22 16:20:02 +01:00
minisoap.h Include MiniUPnPc. 2009-11-22 16:20:02 +01:00
minissdpc.c Integrate miniupnpc. 2009-11-22 16:20:02 +01:00
minissdpc.h Include MiniUPnPc. 2009-11-22 16:20:02 +01:00
miniupnpc.c Make Warzone compile and run successfully on Mac OS X again. 2009-11-22 16:20:06 +01:00
miniupnpc.def Include MiniUPnPc. 2009-11-22 16:20:02 +01:00
miniupnpc.h Integrate miniupnpc. 2009-11-22 16:20:02 +01:00
miniupnpcmodule.c Include MiniUPnPc. 2009-11-22 16:20:02 +01:00
miniupnpcstrings.h Integrate miniupnpc. 2009-11-22 16:20:02 +01:00
miniupnpcstrings.h.in Include MiniUPnPc. 2009-11-22 16:20:02 +01:00
miniwget.c Fix possible segfault in miniupnp. 2010-02-09 20:04:22 +01:00
miniwget.h Include MiniUPnPc. 2009-11-22 16:20:02 +01:00
minixml.c Include MiniUPnPc. 2009-11-22 16:20:02 +01:00
minixml.h Include MiniUPnPc. 2009-11-22 16:20:02 +01:00
minixmlvalid.c Include MiniUPnPc. 2009-11-22 16:20:02 +01:00
pymoduletest.py Include MiniUPnPc. 2009-11-22 16:20:02 +01:00
setup.py Include MiniUPnPc. 2009-11-22 16:20:02 +01:00
setupmingw32.py Include MiniUPnPc. 2009-11-22 16:20:02 +01:00
testigddescparse.c Include MiniUPnPc. 2009-11-22 16:20:02 +01:00
testminixml.c Include MiniUPnPc. 2009-11-22 16:20:02 +01:00
testupnpigd.py Include MiniUPnPc. 2009-11-22 16:20:02 +01:00
testupnpreplyparse.c Include MiniUPnPc. 2009-11-22 16:20:02 +01:00
updateminiupnpcstrings.sh Include MiniUPnPc. 2009-11-22 16:20:02 +01:00
upnpc.c Include MiniUPnPc. 2009-11-22 16:20:02 +01:00
upnpcommands.c Include MiniUPnPc. 2009-11-22 16:20:02 +01:00
upnpcommands.h Include MiniUPnPc. 2009-11-22 16:20:02 +01:00
upnperrors.c Include MiniUPnPc. 2009-11-22 16:20:02 +01:00
upnperrors.h Include MiniUPnPc. 2009-11-22 16:20:02 +01:00
upnpreplyparse.c Include MiniUPnPc. 2009-11-22 16:20:02 +01:00
upnpreplyparse.h Include MiniUPnPc. 2009-11-22 16:20:02 +01:00

README

Project: miniupnp
Project web page: http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/
Author: Thomas Bernard
Copyright (c) 2005-2008 Thomas Bernard
This software is subject to the conditions detailed in the
LICENCE file provided within this distribution.

For the comfort of Win32 users, bsdqueue.h is included in the distribution.
Its licence is included in the header of the file.
bsdqueue.h is a copy of the sys/queue.h of an OpenBSD system.

* miniupnp Client *

To compile, simply run 'gmake' (could be 'make').
Under win32, to compile with MinGW, type "mingw32make.bat".
The compilation is known to work under linux, FreeBSD,
OpenBSD, MacOS X and cygwin.
To install the library and headers on the system use :
> su
> make install
> exit

alternatively, to install in a specific location, use :
> INSTALLPREFIX=/usr/local make install

upnpc.c is a sample client using the libminiupnpc.
To use the libminiupnpc in your application, link it with
libminiupnpc.a and use the following functions found in miniupnpc.h,
upnpcommands.h and miniwget.h :
- upnpDiscover()
- miniwget()
- parserootdesc()
- GetUPNPUrls()
- UPNP_* (calling UPNP methods)

Note : use #include <miniupnpc/miniupnpc.h> etc... for the includes
and -lminiupnpc for the link

Discovery process is speeded up when MiniSSDPd is running on the machine.

* Python module *

you can build a python module with 'make pythonmodule' 
and install it with 'make installpythonmodule'.
setup.py (and setupmingw32.py) are included in the distribution.


Feel free to contact me if you have any problem :
e-mail : miniupnp@free.fr

If you are using libminiupnpc in your application, please
send me an email !