Merge pull request #27 from jtanx/master
[matches/MCTX3420.git] / server / control.h
1 /**
2  * @file control.h
3  * @brief Header file for control functions
4  */
5 #ifndef _CONTROL_H
6 #define _CONTROL_H
7
8 /** Number of actuators **/
9 #define NUMACTUATORS 2
10
11 /** List of actuator ids (should be of size NUMACTUATORS) **/
12 typedef enum ActuatorId {
13         ACT_PRESSURE,
14         ACT_SOLENOID1
15 } ActuatorId;
16
17 /** Human readable names for the actuator ids **/
18 extern const char * g_actuator_names[NUMACTUATORS];
19
20 /** ID codes for all the actuators **/
21 extern void Control_Handler(FCGIContext *context, char *params);
22
23 #endif

UCC git Repository :: git.ucc.asn.au