8 #ifndef K_FIRESYNC_ACTIONS_H
9 #define K_FIRESYNC_ACTIONS_H
157 #include <kFireSync/Client/kActions.x.h>
kStatus kActions_InvokeAndSync(kActions actions, const kChar *typeName, kXml config, kObject input, kObject *output, kAlloc alloc)
Applies current setting to the node and invokes an action of the given type.
kStatus kActions_AddAction(kActions actions, const kChar *typeName, const kChar *name, kAction *action)
Creates and adds a new action to the actions collection.
const kChar * kActions_TypeNameAt(kActions actions, kSize index)
Gets the name of the action type at the specified index.
Essential declarations related to FireSync nodes.
Represents action configuration.
kSize kActions_TypeCount(kActions actions)
Gets the number of action types currently available on this node.
kStatus kActions_Invoke(kActions actions, const kChar *typeName, kXml config, kObject input, kObject *output, kAlloc alloc)
Invokes an action of the given type without applying the current settings to this node first...
const kChar * kActions_TypeDescriptionAt(kActions actions, kSize index)
Gets a description of the action type at the specified index.
kAction kActions_ActionAt(kActions actions, kSize index)
Gets the action at the specified index.
kStatus kActions_DeleteAction(kActions actions, kAction action)
Destroys the specified action and removes it from the actions collection.
kSize kActions_ActionCount(kActions actions)
Gets the total number of actions belonging to the actions collection.
Represents configuration for a collection of actions.
kStatus kActions_FindAction(kActions actions, const kChar *name, kAction *action)
Finds an existing action by name.
kStatus kActions_Clear(kActions actions)
Resets actions collection settings to defaults.