FireSync API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kStatus kNode_Variable ( kNode  node,
const kChar name,
kObject variable,
kAlloc  alloc 
)

Gets the value of the specified remote variable.

The variable object returned by this function may be a shared object. Accordingly, if the variable object does not provide thread-safe access, then it should typically be treated as read-only. Use kObject_Dispose to free the variable object when no longer needed.

In order for a variable object to be accessible across the network, the variable class must implement kDat-6 serialization.

Parameters
nodeNode object.
nameVariable name.
variableReceives variable object.
allocOptional allocator for remote variable, if applicable (can be null).
Returns
Operation status.