ThingWorx C SDK
Classes | Typedefs | Functions
twConnectionInfo.h File Reference

ThingWorx tunneling connection information structure definition and functions. More...

#include "twOSPort.h"

Go to the source code of this file.

Classes

struct  twConnectionInfo
 Tunnel Connection Details Structure Definition. More...
 

Typedefs

typedef struct twConnectionInfo twConnectionInfo
 Tunnel Connection Details Structure Definition.
 

Functions

twConnectionInfotwConnectionInfo_Create (twConnectionInfo *copy)
 Creates a new twConnectionInfo structure, optionally copying settings of an existing twConnectionInfo structure. More...
 
void twConnectionInfo_Delete (void *info)
 Frees all memory associated with a twConnectionInfo structure and all of its owned substructures. More...
 

Detailed Description

ThingWorx tunneling connection information structure definition and functions.

Function Documentation

twConnectionInfo* twConnectionInfo_Create ( twConnectionInfo copy)

Creates a new twConnectionInfo structure, optionally copying settings of an existing twConnectionInfo structure.

Parameters
[in]copyAn optional twConnectionInfo structure to copy (NULL uses default settings).
Returns
A pointer to the newly allocated twConnectionInfo structure.
Note
The calling function will gain ownership of the returned twConnectionInfo structure and is responsible for freeing it via twConnectionInfo_Delete().
void twConnectionInfo_Delete ( void *  info)

Frees all memory associated with a twConnectionInfo structure and all of its owned substructures.

Parameters
[in]infoA pointer to the twConnectionInfo structure to be deleted.
Returns
Nothing.