| 1 |
/* implement the main bcon interface */ |
| 2 |
|
| 3 |
#define BCON_TRIGGER_PATH "/bivio/bcon_triggers/bcon_trigger/" |
| 4 |
#define BCON_TRIGGER_PATH_WITH_NAME "/bivio/bcon_triggers/bcon_trigger[@name=\"" |
| 5 |
#define BCON_TRIGGER_PATH_END_NAME "\"]/" |
| 6 |
#define BCON_TRIGGER_PATH_END_NAME_WITH_PRE_ASTRK "\"]/pre_triggers/*" |
| 7 |
#define BCON_TRIGGER_PATH_END_NAME_WITH_PRE_NO_ASTRK "\"]/pre_triggers/" |
| 8 |
#define BCON_TRIGGER_PATH_END_NAME_WITH_POST_ASTRK "\"]/post_triggers/*" |
| 9 |
#define BCON_TRIGGER_PATH_END_NAME_WITH_POST_NO_ASTRK "\"]/post_triggers/" |
| 10 |
#define BCON_TRIGGER_PATH_END_NAME_WITH_GET_ASTRK "\"]/get_triggers/*" |
| 11 |
#define BCON_TRIGGER_PATH_END_NAME_WITH_GET_NO_ASTRK "\"]/get_triggers/" |
| 12 |
#define BCON_TRIGGER_PATH_SET "set[" |
| 13 |
|
| 14 |
|
| 15 |
typedef struct ErrorConstant ErrorConstant; |
| 16 |
struct ErrorConstant |
| 17 |
{ |
| 18 |
int value; /* value represented by the name */ |
| 19 |
const char *description; /* human readable description */ |
| 20 |
}; |