libUPnP 1.8.0
Data Structures | Functions
ActionComplete.c File Reference

UpnpActionComplete object implementation. More...

#include "config.h"
#include "ActionComplete.h"
#include <stdlib.h>
#include <string.h>
Include dependency graph for ActionComplete.c:

Data Structures

struct  SUpnpActionComplete
 Internal implementation of the UpnpActionComplete object. More...

Functions

UpnpActionCompleteUpnpActionComplete_new ()
 Constructor.
void UpnpActionComplete_delete (UpnpActionComplete *p)
 Destructor.
UpnpActionCompleteUpnpActionComplete_dup (const UpnpActionComplete *p)
 Copy Constructor.
void UpnpActionComplete_assign (UpnpActionComplete *p, const UpnpActionComplete *q)
 Assignment operator.
int UpnpActionComplete_get_ErrCode (const UpnpActionComplete *p)
 Error code getter.
void UpnpActionComplete_set_ErrCode (UpnpActionComplete *p, int n)
 Error code setter.
const UpnpStringUpnpActionComplete_get_CtrlUrl (const UpnpActionComplete *p)
 Control URL getter.
const char * UpnpActionComplete_get_CtrlUrl_cstr (const UpnpActionComplete *p)
 Control URL getter as a C string.
void UpnpActionComplete_set_CtrlUrl (UpnpActionComplete *p, const UpnpString *s)
 Control URL setter.
void UpnpActionComplete_strcpy_CtrlUrl (UpnpActionComplete *p, const char *s)
 Set the control URL from a null terminated C string.
IXML_DocumentUpnpActionComplete_get_ActionRequest (const UpnpActionComplete *p)
 ActionRequest document getter.
void UpnpActionComplete_set_ActionRequest (UpnpActionComplete *p, IXML_Document *d)
 ActionRequest document setter.
IXML_DocumentUpnpActionComplete_get_ActionResult (const UpnpActionComplete *p)
 ActionResult document getter.
void UpnpActionComplete_set_ActionResult (UpnpActionComplete *p, IXML_Document *d)
 ActionResult document setter.

Detailed Description

UpnpActionComplete object implementation.

Author:
Marcelo Roberto Jimenez

Function Documentation

void UpnpActionComplete_assign ( UpnpActionComplete p,
const UpnpActionComplete q 
)
void UpnpActionComplete_delete ( UpnpActionComplete p)
UpnpActionComplete* UpnpActionComplete_dup ( const UpnpActionComplete p)

Copy Constructor.

Parameters:
[in]pthis pointer.

References UpnpActionComplete_assign(), and UpnpActionComplete_new().

IXML_Document* UpnpActionComplete_get_ActionRequest ( const UpnpActionComplete p)

ActionRequest document getter.

Returns:
A pointer to the document object.
Parameters:
[in]pthis pointer.

Referenced by UpnpActionComplete_assign().

IXML_Document* UpnpActionComplete_get_ActionResult ( const UpnpActionComplete p)

ActionResult document getter.

Parameters:
[in]pthis pointer.

Referenced by UpnpActionComplete_assign().

const UpnpString* UpnpActionComplete_get_CtrlUrl ( const UpnpActionComplete p)

Control URL getter.

Returns:
The control URL string.
Parameters:
[in]pthis pointer.

Referenced by UpnpActionComplete_assign(), and UpnpActionComplete_get_CtrlUrl_cstr().

const char* UpnpActionComplete_get_CtrlUrl_cstr ( const UpnpActionComplete p)

Control URL getter as a C string.

Returns:
The control URL string.
Parameters:
[in]pthis pointer.

References UpnpActionComplete_get_CtrlUrl(), and UpnpString_get_String().

int UpnpActionComplete_get_ErrCode ( const UpnpActionComplete p)

Error code getter.

Parameters:
[in]pthis pointer.

Referenced by UpnpActionComplete_assign().

UpnpActionComplete* UpnpActionComplete_new ( )
void UpnpActionComplete_set_ActionRequest ( UpnpActionComplete p,
IXML_Document d 
)

ActionRequest document setter.

Note:
The ActionComplete object takes ownership of the document parameter, i.e. it is responsible for deleting it upon destruction.
Parameters:
[in]pthis pointer.
[in]dDocument to copy.

References ixmlDocument_free(), and SUpnpActionComplete::m_actionRequest.

Referenced by UpnpActionComplete_assign(), UpnpActionComplete_delete(), and UpnpThreadDistribution().

void UpnpActionComplete_set_ActionResult ( UpnpActionComplete p,
IXML_Document d 
)

ActionResult document setter.

Note:
The ActionComplete object takes ownership of the document parameter, i.e. it is responsible for deleting it upon destruction.
Parameters:
[in]pthis pointer.
[in]dDocument to copy.

References ixmlDocument_free(), and SUpnpActionComplete::m_actionResult.

Referenced by UpnpActionComplete_assign(), UpnpActionComplete_delete(), and UpnpThreadDistribution().

void UpnpActionComplete_set_CtrlUrl ( UpnpActionComplete p,
const UpnpString s 
)

Control URL setter.

Parameters:
[in]pthis pointer.
[in]sThe control URL string to copy.

References SUpnpActionComplete::m_ctrlUrl, UpnpString_delete(), and UpnpString_dup().

Referenced by UpnpActionComplete_assign().

void UpnpActionComplete_set_ErrCode ( UpnpActionComplete p,
int  n 
)

Error code setter.

Parameters:
[in]pthis pointer.
[in]nThe error code to set.

Referenced by UpnpActionComplete_assign(), and UpnpThreadDistribution().

void UpnpActionComplete_strcpy_CtrlUrl ( UpnpActionComplete p,
const char *  s 
)

Set the control URL from a null terminated C string.

Parameters:
[in]pthis pointer.
[in]sThe null terminated control URL C string to copy.

References SUpnpActionComplete::m_ctrlUrl, UpnpString_delete(), UpnpString_new(), and UpnpString_set_String().

Referenced by UpnpThreadDistribution().