minissdp.h

来自「miniupnpd可以在嵌入式linux中实现upnp功能」· C头文件 代码 · 共 45 行

H
45
字号
/* $Id: minissdp.h,v 1.6 2008/01/27 22:24:39 nanard Exp $ *//* MiniUPnP project * http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/ * (c) 2006-2007 Thomas Bernard * This software is subject to the conditions detailed * in the LICENCE file provided within the distribution */#ifndef __MINISSDP_H__#define __MINISSDP_H__/*#include "miniupnpdtypes.h"*/intOpenAndConfSSDPReceiveSocket();/* OpenAndConfSSDPReceiveSocket(int n_lan_addr, struct lan_addr_s * lan_addr);*//*intOpenAndConfSSDPNotifySocket(const char * addr);*/intOpenAndConfSSDPNotifySockets(int * sockets);/*OpenAndConfSSDPNotifySockets(int * sockets,                             struct lan_addr_s * lan_addr, int n_lan_addr);*//*voidSendSSDPNotifies(int s, const char * host, unsigned short port,                 unsigned int lifetime);*/voidSendSSDPNotifies2(int * sockets,                  unsigned short port,                  unsigned int lifetime);/*SendSSDPNotifies2(int * sockets, struct lan_addr_s * lan_addr, int n_lan_addr,                  unsigned short port,                  unsigned int lifetime);*/voidProcessSSDPRequest(int s, unsigned short port);/*ProcessSSDPRequest(int s, struct lan_addr_s * lan_addr, int n_lan_addr,                   unsigned short port);*/intSendSSDPGoodbye(int * sockets, int n);#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?