libUPnP  1.6.20
Functions | Variables
gena_ctrlpt.c File Reference
#include "config.h"
#include "gena.h"
#include "httpparser.h"
#include "httpreadwrite.h"
#include "parsetools.h"
#include "statcodes.h"
#include "sysdep.h"
#include "uuid.h"
#include "upnpapi.h"
Include dependency graph for gena_ctrlpt.c:

Functions

static void GenaAutoRenewSubscription (IN void *input)
 This is a thread function to send the renewal just before the subscription times out. More...
 
static int ScheduleGenaAutoRenew (IN int client_handle, IN int TimeOut, IN ClientSubscription *sub)
 Schedules a job to renew the subscription just before time out. More...
 
static int gena_unsubscribe (IN const UpnpString *url, IN const UpnpString *sid, OUT http_parser_t *response)
 Sends the UNSUBCRIBE gena request and recieves the response from the device and returns it as a parameter. More...
 
static int gena_subscribe (IN const UpnpString *url, INOUT int *timeout, IN const UpnpString *renewal_sid, OUT UpnpString *sid)
 Subscribes or renew subscription. More...
 
int genaUnregisterClient (UpnpClient_Handle client_handle)
 Unsubcribes all the outstanding subscriptions and cleans the subscription list. More...
 
int genaUnSubscribe (UpnpClient_Handle client_handle, const UpnpString *in_sid)
 Unsubscribes a SID. More...
 
int genaSubscribe (UpnpClient_Handle client_handle, const UpnpString