* MiniDLNA can now pass the DLNA Conformance Test! * Dependence on libdlna has been removed, and the ffmpeg libs are used directly. * Lots of unused code has been cleaned up. * File transfers will now be forked off into a new process, so as not to tie up the server when sending data.
		
			
				
	
	
		
			39 lines
		
	
	
		
			993 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			39 lines
		
	
	
		
			993 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /* MiniUPnP project
 | |
|  * http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/
 | |
|  * (c) 2008 Thomas Bernard
 | |
|  * This software is subject to the conditions detailed
 | |
|  * in the LICENCE file provided within the distribution */
 | |
| 
 | |
| #ifndef __UPNPEVENTS_H__
 | |
| #define __UPNPEVENTS_H__
 | |
| #ifdef ENABLE_EVENTS
 | |
| enum subscriber_service_enum {
 | |
|  EContentDirectory = 1,
 | |
|  EConnectionManager,
 | |
|  EMSMediaReceiverRegistrar
 | |
| };
 | |
| 
 | |
| void
 | |
| upnp_event_var_change_notify(enum subscriber_service_enum service);
 | |
| 
 | |
| const char *
 | |
| upnpevents_addSubscriber(const char * eventurl,
 | |
|                          const char * callback, int callbacklen,
 | |
|                          int timeout);
 | |
| 
 | |
| int
 | |
| upnpevents_removeSubscriber(const char * sid, int sidlen);
 | |
| 
 | |
| int
 | |
| renewSubscription(const char * sid, int sidlen, int timeout);
 | |
| 
 | |
| void upnpevents_selectfds(fd_set *readset, fd_set *writeset, int * max_fd);
 | |
| void upnpevents_processfds(fd_set *readset, fd_set *writeset);
 | |
| 
 | |
| #ifdef USE_MINIUPNPDCTL
 | |
| void write_events_details(int s);
 | |
| #endif
 | |
| 
 | |
| #endif
 | |
| #endif
 |