AAO DRAMA C++ Interface (Old style)
DRAMA C++, Depreciated, don't use for new code
Classes | Typedefs | Enumerations | Functions | Variables
dcpp.h File Reference
#include "DitsTypes.h"
#include "DitsInteraction.h"
#include "DitsBulk.h"
#include "sds.h"
#include "arg.h"
#include "dcpp_err.h"

Go to the source code of this file.

Classes

class  DcppBuffers
 A structure representing message buffer sizes. More...
 
class  DcppShared
 This is used to create and represent a shared memory segment. More...
 
class  DcppTransaction
 A type used to connect DcppHandler and DcppTask. More...
 

Typedefs

typedef void(* DcppBulkTransRoutine) (unsigned long Transferred, unsigned long Total, DcppVoidPnt ClientData, StatusType *status)
 Type for call backs for DITS_REA_TRANSFERRED messages.
 
typedef DcppHandlerRet(* DcppHandlerRoutine) (DcppVoidPnt ClientData, StatusType *status)
 Type for call backs when messages arrive.
 
typedef void * DcppVoidPnt
 A pointer to void

 
typedef DcppVoidPntDcppVoidPntPnt
 A pointer to a pointer to void.
 

Enumerations

enum  DcppHandlerRet { DcppReschedule , DcppNotHandled , DcppFinished }
 Type returns by various routines to indicate what is to happen next. More...
 

Functions

void Dcpp___UfaceDispatch (StatusType *const status)
 
DcppHandlerRet DcppDispatch (StatusType *const status)
 Basic message handler function.
 
void DcppForgetAll (void *client_data, int taskExit, StatusType exitStatus, StatusType *const status)
 Forget all transaction assocaited with the current action.
 
void DcppSpawnKickArg (DitsTransIdType transid, SdsId *id, StatusType *status)
 Create an argument structure used when kick actions which spawn.
 
void DcppSpawnKickArgUpdate (DitsTransIdType transid, const SdsId *id, StatusType *status)
 Update an argument structure used when kick actions which spawn.
 
void DcppUfaceCtxEnable (StatusType *const status)
 Enable handling of messages started in UFACE context.
 
void DcppVarArgsToSds (int count, Arg &ArgId, StatusType *status, va_list args)
 Convert a variable argument list into an SDS structure.
 

Variables

const unsigned DcppArgNameLen = 13
 
const unsigned DcppArgumentLen = 200
 Maximum Node name length

 
const long int DcppCheckData = 0x0e0e0e0e
 Internal use only.
 
const unsigned DcppMaxArgs = 9999
 
const unsigned DcppNodeNameLen = 100
 Maximum Node name length