1 /* $Id: upnpevents.h,v 1.11 2015/12/12 09:36:22 nanard Exp $ */
3 * http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/
4 * (c) 2008-2015 Thomas Bernard
5 * This software is subject to the conditions detailed
6 * in the LICENCE file provided within the distribution */
8 #ifndef UPNPEVENTS_H_INCLUDED
9 #define UPNPEVENTS_H_INCLUDED
14 enum subscriber_service_enum
{
17 #ifdef ENABLE_L3F_SERVICE
20 #ifdef ENABLE_6FC_SERVICE
23 #ifdef ENABLE_DP_SERVICE
29 upnp_event_var_change_notify(enum subscriber_service_enum service
);
32 upnpevents_addSubscriber(const char * eventurl
,
33 const char * callback
, int callbacklen
,
37 upnpevents_removeSubscriber(const char * sid
, int sidlen
);
40 upnpevents_renewSubscription(const char * sid
, int sidlen
, int timeout
);
42 void upnpevents_selectfds(fd_set
*readset
, fd_set
*writeset
, int * max_fd
);
43 void upnpevents_processfds(fd_set
*readset
, fd_set
*writeset
);
45 #ifdef USE_MINIUPNPDCTL
46 void write_events_details(int s
);