Search:

As defined in xcapi.h

xerr xcSubmitItemByString(xhandle container,
const char *key_string,
xuint64 turnkey,
xuint32 slot);

Description:

Submits a data item to the Exegy appliance system for persistent storage or temporary use. Prior to calling xcSubmitItemByString(), one of the "set field" functions--xcSetField(), xcSetFieldArray(), xcSetFieldGroup(), xcSetFieldGroupArray--is used to set fields in the object with appropriate values for the data item. Valid only for the RW-BasketDefinition, RW-KeylistDefinition, RW-KeylistFilterDefinition, ST-BasketConstituent,and WRITEONLY ("WO") objects. Note that if the function returns XSUCCESS, the caller can expect a callback on the given slot. If the function returns an error, no operation took place.

Restrictions:

Parameters:

Returns:

An xerr type indicating the status of the operation.

Common error codes:

XSUCCESS The operation completed successfully.
XINVAL An invalid parameter was supplied.
XBADSLOT The specified slot range is not valid.
XTYPE The specified container is not of a compatible type.
XNOTCONNECTED Session not connected.
XBADHANDLE Invalid handle.
XREADONLY Invalid call for read-only field or container.



[ Top Of Page ]