version 1.1.1.1, 2012/02/21 23:16:22
|
version 1.1.1.2, 2013/07/22 00:36:10
|
Line 1
|
Line 1
|
/* $Id$ */ |
/* $Id$ */ |
/* Project : miniupnp |
/* Project : miniupnp |
|
* Web : http://miniupnp.free.fr/ |
* Author : Thomas BERNARD |
* Author : Thomas BERNARD |
* copyright (c) 2005-2009 Thomas Bernard | * copyright (c) 2005-2012 Thomas Bernard |
* This software is subjet to the conditions detailed in the |
* This software is subjet to the conditions detailed in the |
* provided LICENCE file. */ |
* provided LICENCE file. */ |
/*#include <syslog.h>*/ |
/*#include <syslog.h>*/ |
Line 10
|
Line 11
|
#include <stdlib.h> |
#include <stdlib.h> |
#include <unistd.h> |
#include <unistd.h> |
#include <sys/types.h> |
#include <sys/types.h> |
#if defined(WIN32) || defined(__amigaos__) || defined(__amigaos4__) | #if defined(_WIN32) || defined(__amigaos__) || defined(__amigaos4__) |
#ifdef WIN32 | #ifdef _WIN32 |
#include <winsock2.h> |
#include <winsock2.h> |
#include <ws2tcpip.h> |
#include <ws2tcpip.h> |
#include <io.h> |
#include <io.h> |
Line 119 getDevicesFromMiniSSDPD(const char * devtype, const ch
|
Line 120 getDevicesFromMiniSSDPD(const char * devtype, const ch
|
p += stsize; |
p += stsize; |
tmp->buffer[urlsize+1+stsize] = '\0'; |
tmp->buffer[urlsize+1+stsize] = '\0'; |
devlist = tmp; |
devlist = tmp; |
/* added for compatibility with recent versions of MiniSSDPd | /* added for compatibility with recent versions of MiniSSDPd |
* >= 2007/12/19 */ |
* >= 2007/12/19 */ |
DECODELENGTH(usnsize, p); |
DECODELENGTH(usnsize, p); |
p += usnsize; |
p += usnsize; |