26 if (renewEventId != -1) {
30 tempJob.free_func(tempJob.arg);
size_t size
Size of the buffer.
Buffer used in parsinghttp messages, urls, etc. Generally this simply holds a pointer into a larger a...
int GenlibClientSubscription_set_RenewEventId(GenlibClientSubscription *p, int n)
const char * GenlibClientSubscription_get_ActualSID_cstr(const GenlibClientSubscription *p)
GenlibClientSubscription * GenlibClientSubscription_get_Next(const GenlibClientSubscription *p)
int GenlibClientSubscription_set_Next(GenlibClientSubscription *p, GenlibClientSubscription *n)
const char * GenlibClientSubscription_get_SID_cstr(const GenlibClientSubscription *p)
int GenlibClientSubscription_strcpy_ActualSID(GenlibClientSubscription *p, const char *s)
int GenlibClientSubscription_strcpy_EventURL(GenlibClientSubscription *p, const char *s)
int GenlibClientSubscription_get_RenewEventId(const GenlibClientSubscription *p)
void GenlibClientSubscription_delete(GenlibClientSubscription *q)
Genlib Client subscription.
int TimerThreadRemove(TimerThread *timer, int id, ThreadPoolJob *out)
Removes an event from the timer Q.
void free_client_subscription(GenlibClientSubscription *sub)
Free memory allocated for client subscription data.
GenlibClientSubscription * GetClientSubClientSID(GenlibClientSubscription *head, const UpnpString *sid)
Return the client subscription from the client table that matches const Upnp_SID sid subscrition id v...
void RemoveClientSubClientSID(GenlibClientSubscription **head, const UpnpString *sid)
Remove the client subscription matching the subscritpion id represented by the const Upnp_SID sid par...
void freeClientSubList(GenlibClientSubscription *list)
Free the client subscription table.
GenlibClientSubscription * GetClientSubActualSID(GenlibClientSubscription *head, token *sid)
Returns the client subscription from the client subscription table that has the matching token *sid b...
Internal implementation of the class UpnpString.
PUPNP_Api const char * UpnpString_get_String(const UpnpString *p)
Returns the pointer to char.
TimerThread gTimerThread
Global timer thread.