12345678910111213141516171819202122232425262728293031323334353637383940 |
-
-
- #ifndef __STATE_VALUE_H__
- #define __STATE_VALUE_H__
-
- #include <sys/types.h>
- #include "state.h"
-
- enum value_step_mode {
- VAL_STEP_INCREMENT = 0,
- VAL_STEP_SHIFT,
- };
-
- void state_value_set(void *value, size_t length,
- ssize_t min, ssize_t max,
- enum value_step_mode mode, ssize_t step,
- const char *name);
- void state_value_return(enum system_state state);
-
- void state_value_enter(void);
- void state_value_exit(void);
- void state_value_run(void);
-
- #endif
|