VDSF
Menu

vdsSession.h File Reference


Detailed Description

This file provides the API needed to create and use a session.

#include <vdsf/vdsCommon.h>

Include dependency graph for vdsSession.h:

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


Functions

VDSF_EXPORT int vdsCommit (VDS_HANDLE sessionHandle)
 Commit all insertions and deletions (of the current session) executed since the previous call to vdsCommit or vdsRollback.
VDSF_EXPORT int vdsCreateObject (VDS_HANDLE sessionHandle, const char *objectName, size_t nameLengthInBytes, vdsObjectType objectType)
 Create a new object in shared memory.
VDSF_EXPORT int vdsDestroyObject (VDS_HANDLE sessionHandle, const char *objectName, size_t nameLengthInBytes)
 Destroy an existing object in shared memory.
VDSF_EXPORT int vdsErrorMsg (VDS_HANDLE sessionHandle, char *message, size_t msgLengthInBytes)
 Return the error message associated with the last error(s).
VDSF_EXPORT int vdsExitSession (VDS_HANDLE sessionHandle)
 Terminate the current session.
VDSF_EXPORT int vdsGetInfo (VDS_HANDLE sessionHandle, vdsInfo *pInfo)
 Return information on the current status of the VDS (Virtual Data Space).
VDSF_EXPORT int vdsGetStatus (VDS_HANDLE sessionHandle, const char *objectName, size_t nameLengthInBytes, vdsObjStatus *pStatus)
 Return the status of the named object.
VDSF_EXPORT int vdsInitSession (VDS_HANDLE *sessionHandle)
 This function initializes a session.
VDSF_EXPORT int vdsLastError (VDS_HANDLE sessionHandle)
 Return the last error seen in previous calls (of the current session).
VDSF_EXPORT int vdsRollback (VDS_HANDLE sessionHandle)
 Rollback all insertions and deletions (of the current session) executed since the previous call to vdsCommit or vdsRollback.

Last updated on April 07, 2008.