XmlBlasterUnmanaged.h File Reference

#include <XmlBlasterAccessUnparsed.h>

Include dependency graph for XmlBlasterUnmanaged.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  XmlBlasterUnmanagedException
 Usage without fixed array size, to avoid 'unsafe' code in C#. More...
struct  XmlBlasterUnmanagedStringArr
 Helper struct to pass an array of strings back to C#. More...

Typedefs

typedef const char *(*) XmlBlasterUnmanagedUpdateFp (const char *cbSessionId, const char *key, char *contentStr, int32_t contentLen, const char *qos, XmlBlasterUnmanagedException *xmlBlasterException)

Functions

XmlBlasterAccessUnparsedgetXmlBlasterAccessUnparsedUnmanaged (int argc, const char *const *argv)
void freeXmlBlasterAccessUnparsedUnmanaged (XmlBlasterAccessUnparsed *xmlBlasterAccess)
char * xmlBlasterUnmanagedConnect (struct XmlBlasterAccessUnparsed *xa, const char *const qos, XmlBlasterUnmanagedUpdateFp update, XmlBlasterUnmanagedException *exception)
int xmlBlasterUnmanagedInitialize (struct XmlBlasterAccessUnparsed *xa, XmlBlasterUnmanagedUpdateFp update, XmlBlasterUnmanagedException *exception)
int xmlBlasterUnmanagedDisconnect (struct XmlBlasterAccessUnparsed *xa, const char *qos, XmlBlasterUnmanagedException *exception)
char * xmlBlasterUnmanagedPublish (struct XmlBlasterAccessUnparsed *xa, MsgUnit *msgUnit, XmlBlasterUnmanagedException *exception)
QosArrxmlBlasterUnmanagedPublishArr (struct XmlBlasterAccessUnparsed *xa, MsgUnitArr *msgUnitArr, XmlBlasterUnmanagedException *exception)
void xmlBlasterUnmanagedPublishOneway (struct XmlBlasterAccessUnparsed *xa, MsgUnit *msgUnitArr, int length, XmlBlasterUnmanagedException *exception)
char * xmlBlasterUnmanagedSubscribe (struct XmlBlasterAccessUnparsed *xa, const char *const key, const char *qos, XmlBlasterUnmanagedException *exception)
void xmlBlasterUnmanagedUnSubscribe (struct XmlBlasterAccessUnparsed *xa, const char *const key, const char *qos, XmlBlasterUnmanagedException *exception, uint32_t *pSize, XmlBlasterUnmanagedStringArr **ppStruct)
void xmlBlasterUnmanagedErase (struct XmlBlasterAccessUnparsed *xa, const char *const key, const char *qos, XmlBlasterUnmanagedException *exception, uint32_t *pSize, XmlBlasterUnmanagedStringArr **ppStruct)
void xmlBlasterUnmanagedGet (struct XmlBlasterAccessUnparsed *xa, const char *const key, const char *qos, XmlBlasterUnmanagedException *exception, uint32_t *pSize, MsgUnit **ppStruct)
char * xmlBlasterUnmanagedPing (struct XmlBlasterAccessUnparsed *xa, const char *const qos, XmlBlasterUnmanagedException *exception)
int xmlBlasterUnmanagedIsConnected (struct XmlBlasterAccessUnparsed *xa)
const char * xmlBlasterUnmanagedUsage ()


Typedef Documentation

typedef const char*(*) XmlBlasterUnmanagedUpdateFp(const char *cbSessionId, const char *key, char *contentStr, int32_t contentLen, const char *qos, XmlBlasterUnmanagedException *xmlBlasterException)

Definition at line 50 of file XmlBlasterUnmanaged.h.


Function Documentation

void freeXmlBlasterAccessUnparsedUnmanaged ( XmlBlasterAccessUnparsed xmlBlasterAccess  ) 

Definition at line 97 of file XmlBlasterUnmanaged.c.

References XmlBlasterAccessUnparsed::argc, XmlBlasterAccessUnparsed::argv, and freeXmlBlasterAccessUnparsed().

Here is the call graph for this function:

XmlBlasterAccessUnparsed* getXmlBlasterAccessUnparsedUnmanaged ( int  argc,
const char *const *  argv 
)

char* xmlBlasterUnmanagedConnect ( struct XmlBlasterAccessUnparsed xa,
const char *const  qos,
XmlBlasterUnmanagedUpdateFp  update,
XmlBlasterUnmanagedException exception 
)

int xmlBlasterUnmanagedDisconnect ( struct XmlBlasterAccessUnparsed xa,
const char *  qos,
XmlBlasterUnmanagedException exception 
)

void xmlBlasterUnmanagedErase ( struct XmlBlasterAccessUnparsed xa,
const char *const  key,
const char *  qos,
XmlBlasterUnmanagedException exception,
uint32_t *  pSize,
XmlBlasterUnmanagedStringArr **  ppStruct 
)

void xmlBlasterUnmanagedGet ( struct XmlBlasterAccessUnparsed xa,
const char *const  key,
const char *  qos,
XmlBlasterUnmanagedException exception,
uint32_t *  pSize,
MsgUnit **  ppStruct 
)

int xmlBlasterUnmanagedInitialize ( struct XmlBlasterAccessUnparsed xa,
XmlBlasterUnmanagedUpdateFp  update,
XmlBlasterUnmanagedException exception 
)

Definition at line 107 of file XmlBlasterUnmanaged.c.

References convert(), XmlBlasterAccessUnparsed::initialize, interceptUpdate(), and XmlBlasterAccessUnparsed::userFp.

Here is the call graph for this function:

int xmlBlasterUnmanagedIsConnected ( struct XmlBlasterAccessUnparsed xa  ) 

Definition at line 253 of file XmlBlasterUnmanaged.c.

References XmlBlasterAccessUnparsed::isConnected.

char* xmlBlasterUnmanagedPing ( struct XmlBlasterAccessUnparsed xa,
const char *const  qos,
XmlBlasterUnmanagedException exception 
)

char* xmlBlasterUnmanagedPublish ( struct XmlBlasterAccessUnparsed xa,
MsgUnit msgUnit,
XmlBlasterUnmanagedException exception 
)

Definition at line 133 of file XmlBlasterUnmanaged.c.

References convert(), and XmlBlasterAccessUnparsed::publish.

Here is the call graph for this function:

QosArr* xmlBlasterUnmanagedPublishArr ( struct XmlBlasterAccessUnparsed xa,
MsgUnitArr msgUnitArr,
XmlBlasterUnmanagedException exception 
)

Definition at line 140 of file XmlBlasterUnmanaged.c.

References convert(), and XmlBlasterAccessUnparsed::publishArr.

Here is the call graph for this function:

void xmlBlasterUnmanagedPublishOneway ( struct XmlBlasterAccessUnparsed xa,
MsgUnit msgUnitArr,
int  length,
XmlBlasterUnmanagedException exception 
)

Definition at line 147 of file XmlBlasterUnmanaged.c.

References convert(), MsgUnitStructArr::isOneway, MsgUnitStructArr::len, MsgUnitStructArr::msgUnitArr, XmlBlasterAccessUnparsed::publishOneway, and MsgUnitStructArr::secretSessionId.

Here is the call graph for this function:

char* xmlBlasterUnmanagedSubscribe ( struct XmlBlasterAccessUnparsed xa,
const char *const  key,
const char *  qos,
XmlBlasterUnmanagedException exception 
)

void xmlBlasterUnmanagedUnSubscribe ( struct XmlBlasterAccessUnparsed xa,
const char *const  key,
const char *  qos,
XmlBlasterUnmanagedException exception,
uint32_t *  pSize,
XmlBlasterUnmanagedStringArr **  ppStruct 
)

const char* xmlBlasterUnmanagedUsage (  ) 

Definition at line 257 of file XmlBlasterUnmanaged.c.

References XMLBLASTER_MAX_USAGE_LEN, and xmlBlasterAccessUnparsedUsage().

Here is the call graph for this function: