- Adapted indenation to new agreed upon system

- Added support for second generation scriptcontext based counter
This commit is contained in:
koennecke
2009-02-13 09:00:03 +00:00
parent a3dcad2bfa
commit 91d4af0541
405 changed files with 88101 additions and 88173 deletions

View File

@ -6,7 +6,7 @@
/* \brief an sct controller
*/
typedef struct SctController SctController;
typedef struct SctController SctController;
/** \brief queue node action to a controller
*
@ -16,9 +16,9 @@ typedef struct SctController SctController;
* \param action the initial state
* \param con an optional connection to be used by the action scripts
*/
void SctQueueNode(SctController *controller, Hdb *node,
DevPrio prio, char *action, SConnection *con);
void SctQueueNode(SctController * controller, Hdb * node,
DevPrio prio, char *action, SConnection * con);
/** \brief call a script and configure the sct command to be used
* in connection with the given node and controller
*
@ -27,12 +27,12 @@ void SctQueueNode(SctController *controller, Hdb *node,
* \param the node to which the sct command
* \return 0 when this was a new action, > 0 when an action was overwritten
*/
int SctCallInContext(SConnection *con, char *script, Hdb *node,
SctController *controller, char **resPtr);
int SctCallInContext(SConnection * con, char *script, Hdb * node,
SctController * controller, char **resPtr);
/**
* test the controller verbose flag
* \param c The SctController to test
* \return 1 for verbose, 0 for silent
*/
int SctVerbose(SctController *c);
int SctVerbose(SctController * c);
#endif