Remove an action from a condition
#include <ha/ham.h> int ham_action_remove( ham_action_t *ahdl, unsigned flags);
You use the ham_action_remove() function to remove an action from a condition in a specific entity.
You can obtain the handle (ahdl) either:
The flags argument isn't currently used.
The connection to the HAM is invalid. This happens when the process that opened the connection (using ham_connect()) and the process that's calling ham_action_remove() aren't the same.
In addition to the above errors, the HAM returns any error it encounters while servicing this request.
ham_action_execute(), ham_action_handle(), ham_action_heartbeat_healthy(), ham_action_log(), ham_action_notify_pulse(), ham_action_notify_signal(), ham_action_restart(), ham_action_waitfor()