File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / miniupnpd / upnpevents.h
Revision 1.1.1.3 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Mon Jul 22 00:32:35 2013 UTC (10 years, 10 months ago) by misho
Branches: miniupnpd, elwix, MAIN
CVS tags: v1_8p0, v1_8, HEAD
1.8

    1: /* $Id: upnpevents.h,v 1.1.1.3 2013/07/22 00:32:35 misho Exp $ */
    2: /* MiniUPnP project
    3:  * http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/
    4:  * (c) 2008-2011 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_INCLUDED
    9: #define UPNPEVENTS_H_INCLUDED
   10: 
   11: #include "config.h"
   12: 
   13: #ifdef ENABLE_EVENTS
   14: enum subscriber_service_enum {
   15:  EWanCFG = 1,
   16:  EWanIPC,
   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
   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>