#include <XmlBlasterAccessUnparsed.h>
Include dependency graph for XmlBlasterUnmanagedCE.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
#define XB_CALLBACK_DECL |
Definition at line 84 of file XmlBlasterUnmanagedCE.h.
typedef int32_t( *) FPTR(int32_t i) |
Definition at line 90 of file XmlBlasterUnmanagedCE.h.
typedef MsgUnit MsgUnitUnmanagedCEget |
Definition at line 60 of file XmlBlasterUnmanagedCE.h.
typedef MsgUnit MsgUnitUnmanagedCEpublish |
Definition at line 59 of file XmlBlasterUnmanagedCE.h.
typedef void( *) XmlBlasterUnmanagedCECallbackProgressListenerFp(int32_t currBytesRead, int32_t nbytes) |
Definition at line 88 of file XmlBlasterUnmanagedCE.h.
typedef void( *) XmlBlasterUnmanagedCELoggerFp(int32_t level, const char *location, const char *msg) |
Definition at line 86 of file XmlBlasterUnmanagedCE.h.
typedef void( *) XmlBlasterUnmanagedCEUpdateFp(const char *cbSessionId, MsgUnit *msgUnit, int32_t isOneway, XmlBlasterUnmanagedCEException *xmlBlasterException) |
Definition at line 87 of file XmlBlasterUnmanagedCE.h.
void freeXmlBlasterAccessUnparsedUnmanagedCE | ( | XmlBlasterAccessUnparsed * | xmlBlasterAccess | ) |
Definition at line 293 of file XmlBlasterUnmanagedCE.c.
References XmlBlasterAccessUnparsed::argc, XmlBlasterAccessUnparsed::argv, and freeXmlBlasterAccessUnparsed().
Here is the call graph for this function:
XmlBlasterAccessUnparsed* getXmlBlasterAccessUnparsedUnmanagedCE | ( | int | argc, | |
char ** | argv | |||
) |
Definition at line 278 of file XmlBlasterUnmanagedCE.c.
References getXmlBlasterAccessUnparsed(), and strcpyAlloc().
Here is the call graph for this function:
const char* getXmlBlasterEmei | ( | ) |
You need to add cellcore.lib for compilation (WINCE).
TODO: Not yet tested: What is inside the lineGeneralInfo.dwSerialNumberOffset?? TODO: Needs security model?
Definition at line 572 of file XmlBlasterUnmanagedCE.c.
char* xmlBlasterUnmanagedCEConnect | ( | struct XmlBlasterAccessUnparsed * | xa, | |
char * | qos, | |||
XmlBlasterUnmanagedCEUpdateFp | update, | |||
XmlBlasterUnmanagedCEException * | exception | |||
) |
Your qos is freed.
Definition at line 316 of file XmlBlasterUnmanagedCE.c.
References XmlBlasterAccessUnparsed::connect, convert(), freeIt, interceptUpdate(), XmlBlasterAccessUnparsed::userFp, and xmlBlasterFree().
Here is the call graph for this function:
int xmlBlasterUnmanagedCEDisconnect | ( | struct XmlBlasterAccessUnparsed * | xa, | |
char * | qos, | |||
XmlBlasterUnmanagedCEException * | exception | |||
) |
Your qos is freed.
Definition at line 332 of file XmlBlasterUnmanagedCE.c.
References convert(), XmlBlasterAccessUnparsed::disconnect, freeIt, and xmlBlasterFree().
Here is the call graph for this function:
void xmlBlasterUnmanagedCEErase | ( | struct XmlBlasterAccessUnparsed * | xa, | |
char * | key, | |||
char * | qos, | |||
XmlBlasterUnmanagedCEException * | exception, | |||
uint32_t * | pSize, | |||
XmlBlasterUnmanagedCEStringArr ** | ppStruct | |||
) |
Definition at line 417 of file XmlBlasterUnmanagedCE.c.
References convert(), XmlBlasterAccessUnparsed::erase, ExceptionStruct::errorCode, freeIt, freeQosArr(), initializeXmlBlasterException(), QosStructArr::len, QosStructArr::qosArr, XmlBlasterUnmanagedCEStringArr::str, strcpyAlloc(), and xmlBlasterFree().
Here is the call graph for this function:
void xmlBlasterUnmanagedCEExceptionFree | ( | XmlBlasterUnmanagedCEException * | exception | ) |
Definition at line 197 of file XmlBlasterUnmanagedCE.c.
References XmlBlasterUnmanagedCEException::errorCode, XmlBlasterUnmanagedCEException::message, XmlBlasterUnmanagedCEException::remote, and xmlBlasterFree().
Referenced by interceptUpdate().
Here is the call graph for this function:
void xmlBlasterUnmanagedCEFree | ( | char * | p | ) |
Frees the malloced pointer.
p | Can be null |
Definition at line 160 of file XmlBlasterUnmanagedCE.c.
References xmlBlasterFree().
Here is the call graph for this function:
void xmlBlasterUnmanagedCEFreePP | ( | char ** | pp | ) |
Frees the content of the malloced pointer It is a hack as i don't know how to free the IntPtr which arrived as ** and was allocated on (*ppStruct) for example in unSubscribe(): So we call this function similar as the unSubscribe() .
..
pp | Can be null |
Definition at line 172 of file XmlBlasterUnmanagedCE.c.
References xmlBlasterFree().
Here is the call graph for this function:
void xmlBlasterUnmanagedCEGet | ( | struct XmlBlasterAccessUnparsed * | xa, | |
char * | key, | |||
char * | qos, | |||
XmlBlasterUnmanagedCEException * | exception, | |||
uint32_t * | pSize, | |||
MsgUnitUnmanagedCEget ** | ppStruct | |||
) |
Definition at line 450 of file XmlBlasterUnmanagedCE.c.
References MsgUnit::content, MsgUnit::contentLen, convert(), ExceptionStruct::errorCode, freeIt, freeMsgUnitArr(), XmlBlasterAccessUnparsed::get, MsgUnit::key, MsgUnitStructArr::len, MsgUnitStructArr::msgUnitArr, MsgUnit::qos, MsgUnit::responseQos, strcpyAlloc(), and xmlBlasterFree().
Here is the call graph for this function:
int xmlBlasterUnmanagedCEInitialize | ( | struct XmlBlasterAccessUnparsed * | xa, | |
XmlBlasterUnmanagedCEUpdateFp | update, | |||
XmlBlasterUnmanagedCEException * | exception | |||
) |
Definition at line 303 of file XmlBlasterUnmanagedCE.c.
References convert(), XmlBlasterAccessUnparsed::initialize, interceptUpdate(), and XmlBlasterAccessUnparsed::userFp.
Here is the call graph for this function:
int xmlBlasterUnmanagedCEIsConnected | ( | struct XmlBlasterAccessUnparsed * | xa | ) |
Definition at line 511 of file XmlBlasterUnmanagedCE.c.
References XmlBlasterAccessUnparsed::isConnected.
char* xmlBlasterUnmanagedCEMalloc | ( | int32_t | size | ) |
malloc size bytes
size | > 0 |
Definition at line 149 of file XmlBlasterUnmanagedCE.c.
char* xmlBlasterUnmanagedCEPing | ( | struct XmlBlasterAccessUnparsed * | xa, | |
char * | qos, | |||
XmlBlasterUnmanagedCEException * | exception | |||
) |
Definition at line 503 of file XmlBlasterUnmanagedCE.c.
References convert(), freeIt, XmlBlasterAccessUnparsed::ping, and xmlBlasterFree().
Here is the call graph for this function:
char* xmlBlasterUnmanagedCEPublish | ( | struct XmlBlasterAccessUnparsed * | xa, | |
MsgUnitUnmanagedCEpublish * | msgUnit, | |||
XmlBlasterUnmanagedCEException * | exception | |||
) |
Definition at line 341 of file XmlBlasterUnmanagedCE.c.
References convert(), freeIt, freeMsgUnitData(), and XmlBlasterAccessUnparsed::publish.
Here is the call graph for this function:
QosArr* xmlBlasterUnmanagedCEPublishArr | ( | struct XmlBlasterAccessUnparsed * | xa, | |
MsgUnitArr * | msgUnitArr, | |||
XmlBlasterUnmanagedCEException * | exception | |||
) |
Definition at line 350 of file XmlBlasterUnmanagedCE.c.
References convert(), and XmlBlasterAccessUnparsed::publishArr.
Here is the call graph for this function:
void xmlBlasterUnmanagedCEPublishOneway | ( | struct XmlBlasterAccessUnparsed * | xa, | |
void * | msgUnitArr, | |||
int | length, | |||
XmlBlasterUnmanagedCEException * | exception | |||
) |
Definition at line 357 of file XmlBlasterUnmanagedCE.c.
References convert(), freeIt, freeMsgUnitData(), MsgUnitStructArr::isOneway, MsgUnitStructArr::len, MsgUnitStructArr::msgUnitArr, XmlBlasterAccessUnparsed::publishOneway, and MsgUnitStructArr::secretSessionId.
Here is the call graph for this function:
void xmlBlasterUnmanagedCERegisterLogger | ( | struct XmlBlasterAccessUnparsed * | xa, | |
XmlBlasterUnmanagedCELoggerFp | logger | |||
) |
Definition at line 91 of file XmlBlasterUnmanagedCE.c.
References XmlBlasterAccessUnparsed::log, XmlBlasterAccessUnparsed::logUserP, and myLogger().
Here is the call graph for this function:
void xmlBlasterUnmanagedCERegisterProgressListener | ( | struct XmlBlasterAccessUnparsed * | xa, | |
XmlBlasterUnmanagedCECallbackProgressListenerFp | progressListener | |||
) |
Called by managed C# code to register for progress notifications.
Definition at line 128 of file XmlBlasterUnmanagedCE.c.
References XmlBlasterAccessUnparsed::callbackP, callbackProgressListener(), XmlBlasterReadFromSocketFuncHolder::numReadFuncP, XmlBlasterReadFromSocketFuncHolder::numReadUserP, and CallbackServerUnparsedStruct::readFromSocket.
Here is the call graph for this function:
char* xmlBlasterUnmanagedCESubscribe | ( | struct XmlBlasterAccessUnparsed * | xa, | |
char * | key, | |||
char * | qos, | |||
XmlBlasterUnmanagedCEException * | exception | |||
) |
Your key and qos is freed.
Definition at line 379 of file XmlBlasterUnmanagedCE.c.
References convert(), freeIt, XmlBlasterAccessUnparsed::subscribe, and xmlBlasterFree().
Here is the call graph for this function:
void xmlBlasterUnmanagedCEUnSubscribe | ( | struct XmlBlasterAccessUnparsed * | xa, | |
char * | key, | |||
char * | qos, | |||
XmlBlasterUnmanagedCEException * | exception, | |||
uint32_t * | pSize, | |||
XmlBlasterUnmanagedCEStringArr ** | ppStruct | |||
) |
Definition at line 388 of file XmlBlasterUnmanagedCE.c.
References convert(), ExceptionStruct::errorCode, freeIt, freeQosArr(), initializeXmlBlasterException(), QosStructArr::len, QosStructArr::qosArr, XmlBlasterUnmanagedCEStringArr::str, strcpyAlloc(), XmlBlasterAccessUnparsed::unSubscribe, and xmlBlasterFree().
Here is the call graph for this function:
const char* xmlBlasterUnmanagedCEUsage | ( | ) |
Definition at line 515 of file XmlBlasterUnmanagedCE.c.
References XMLBLASTER_MAX_USAGE_LEN, and xmlBlasterAccessUnparsedUsage().
Here is the call graph for this function:
const char* xmlBlasterUnmanagedCEVersion | ( | ) |
Definition at line 520 of file XmlBlasterUnmanagedCE.c.
References getXmlBlasterVersion(), and strcpyAlloc().
Here is the call graph for this function: