Annotation of embedaddon/miniupnpd/upnpevents.h, revision 1.1.1.2
1.1.1.2 ! misho 1: /* $Id: upnpevents.h,v 1.9 2011/05/18 22:21:19 nanard Exp $ */
1.1 misho 2: /* MiniUPnP project
3: * http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/
1.1.1.2 ! misho 4: * (c) 2008-2011 Thomas Bernard
1.1 misho 5: * This software is subject to the conditions detailed
6: * in the LICENCE file provided within the distribution */
7:
8: #ifndef __UPNPEVENTS_H__
9: #define __UPNPEVENTS_H__
1.1.1.2 ! misho 10:
! 11: #include "config.h"
! 12:
1.1 misho 13: #ifdef ENABLE_EVENTS
14: enum subscriber_service_enum {
15: EWanCFG = 1,
16: EWanIPC,
1.1.1.2 ! misho 17: #ifdef ENABLE_L3F_SERVICE
! 18: EL3F,
! 19: #endif
! 20: #ifdef ENABLE_6FC_SERVICE
! 21: E6FC,
! 22: #endif
! 23: #ifdef ENABLE_DP_SERVICE
! 24: EDP,
! 25: #endif
1.1 misho 26: };
27:
28: void
29: upnp_event_var_change_notify(enum subscriber_service_enum service);
30:
31: const char *
32: upnpevents_addSubscriber(const char * eventurl,
33: const char * callback, int callbacklen,
34: int timeout);
35:
36: int
37: upnpevents_removeSubscriber(const char * sid, int sidlen);
38:
39: int
40: renewSubscription(const char * sid, int sidlen, int timeout);
41:
42: void upnpevents_selectfds(fd_set *readset, fd_set *writeset, int * max_fd);
43: void upnpevents_processfds(fd_set *readset, fd_set *writeset);
44:
45: #ifdef USE_MINIUPNPDCTL
46: void write_events_details(int s);
47: #endif
48:
49: #endif
50: #endif
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>