comparison libpurple/upnp.h @ 32771:52fb2e955198

propagate from branch 'im.pidgin.pidgin.2.x.y' (head 6ee8e5cba5c96a1f2171038180b636724b258817) to branch 'im.pidgin.pidgin' (head 92cc5e21737e6702460525c581295fdd26a2380f)
author Mark Doliner <mark@kingant.net>
date Fri, 13 Apr 2012 07:39:04 +0000
parents 98520ee78f12
children
comparison
equal deleted inserted replaced
32770:1e0ded0cb2ee 32771:52fb2e955198
27 #ifndef _PURPLE_UPNP_H_ 27 #ifndef _PURPLE_UPNP_H_
28 #define _PURPLE_UPNP_H_ 28 #define _PURPLE_UPNP_H_
29 29
30 typedef struct _UPnPMappingAddRemove UPnPMappingAddRemove; 30 typedef struct _UPnPMappingAddRemove UPnPMappingAddRemove;
31 31
32 #ifdef __cplusplus 32 G_BEGIN_DECLS
33 extern "C" {
34 #endif
35 33
36 /**************************************************************************/ 34 /**************************************************************************/
37 /** @name UPnP API */ 35 /** @name UPnP API */
38 /**************************************************************************/ 36 /**************************************************************************/
39 /*@{*/ 37 /*@{*/
123 UPnPMappingAddRemove *purple_upnp_remove_port_mapping(unsigned short portmap, 121 UPnPMappingAddRemove *purple_upnp_remove_port_mapping(unsigned short portmap,
124 const gchar* protocol, PurpleUPnPCallback cb, gpointer cb_data); 122 const gchar* protocol, PurpleUPnPCallback cb, gpointer cb_data);
125 123
126 /*@}*/ 124 /*@}*/
127 125
128 #ifdef __cplusplus 126 G_END_DECLS
129 }
130 #endif
131 127
132 #endif /* _PURPLE_UPNP_H_ */ 128 #endif /* _PURPLE_UPNP_H_ */