/* $Id: upnpsoap.h,v 1.8 2007/02/07 22:16:19 nanard Exp $ */
/* MiniUPnP project
 * http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/
 * (c) 2006 Thomas Bernard 
 * This software is subject to the conditions detailed
 * in the LICENCE file provided within the distribution */

#ifndef __UPNPSOAP_H__
#define __UPNPSOAP_H__
#include "tbstype.h"
#include "tbsmsg.h"
/*fuhuoping add start*/
#define UPNP_STRING_MAXLEN  26
#define UPNP_SAVEFILE_MODE  /*选择中间文件模式*/
#define MINIUPNP_DEBUG
#ifdef  UPNP_SAVEFILE_MODE
#define   BACKFILE  "/var/mapback.conf"
#define   MAPFILE   "/var/portmapinfo.conf"
#else
#endif
/*fuhuoping add end*/
/* ExecuteSoapAction():
 * this method executes the requested Soap Action */
void
ExecuteSoapAction(struct upnphttp *, const char *, int);

/* SoapError():
 * sends a correct SOAP error with an UPNPError code and 
 * description */
void
SoapError(struct upnphttp * h, int errCode, const char * errDesc);

#endif

