| 123456789101112131415161718192021222324252627282930313233 |
- /*
- This example code is in the Public Domain (or CC0 licensed, at your option.)
- Unless required by applicable law or agreed to in writing, this
- software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
- CONDITIONS OF ANY KIND, either express or implied.
- */
- #include <stdio.h>
- #include <stdlib.h>
- #include <string.h>
- /* Attributes State Machine */
- enum
- {
- IDX_SVC,
- IDX_CHAR_A,
- IDX_CHAR_VAL_A,
- IDX_CHAR_CFG_A,
- IDX_CHAR_B,
- IDX_CHAR_VAL_B,
- IDX_CHAR_CFG_B,
- IDX_CHAR_C,
- IDX_CHAR_VAL_C,
- IDX_CHAR_CFG_C,
- IDX_CHAR_CFG_C_2,
- HRS_IDX_NB,
- };
|