Annotation of embedaddon/miniupnpd/upnpevents.h, revision 1.1.1.1

1.1       misho       1: /* $Id: upnpevents.h,v 1.8 2008/04/26 22:37:30 nanard Exp $ */
                      2: /* MiniUPnP project
                      3:  * http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/
                      4:  * (c) 2008 Thomas Bernard
                      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__
                     10: #ifdef ENABLE_EVENTS
                     11: enum subscriber_service_enum {
                     12:  EWanCFG = 1,
                     13:  EWanIPC,
                     14:  EL3F
                     15: };
                     16: 
                     17: void
                     18: upnp_event_var_change_notify(enum subscriber_service_enum service);
                     19: 
                     20: const char *
                     21: upnpevents_addSubscriber(const char * eventurl,
                     22:                          const char * callback, int callbacklen,
                     23:                          int timeout);
                     24: 
                     25: int
                     26: upnpevents_removeSubscriber(const char * sid, int sidlen);
                     27: 
                     28: int
                     29: renewSubscription(const char * sid, int sidlen, int timeout);
                     30: 
                     31: void upnpevents_selectfds(fd_set *readset, fd_set *writeset, int * max_fd);
                     32: void upnpevents_processfds(fd_set *readset, fd_set *writeset);
                     33: 
                     34: #ifdef USE_MINIUPNPDCTL
                     35: void write_events_details(int s);
                     36: #endif
                     37: 
                     38: #endif
                     39: #endif

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>