![]() |
Hamlib 4.7.1
|
Macros | |
| #define | ERROR_TBL_SZ (sizeof(rigerror_table)/sizeof(char *)) |
| Convenience macro calculating rigerror_table size. | |
Functions | |
| int | check_level_param (RIG *rig, setting_t level, value_t val, gran_t **gran) |
| Check the input to rig_set_level. | |
| const char * | hl_stars (int len) |
| Get a string of stars for indenting messages. | |
| void | add2debugmsgsave (const char *s) |
| Handle stack trace messages. | |
| #define ERROR_TBL_SZ (sizeof(rigerror_table)/sizeof(char *)) |
Convenience macro calculating rigerror_table size.
Used to ensure access beyond the end of rigerror_table does not occur.
| void add2debugmsgsave | ( | const char * | s | ) |
Handle stack trace messages.
Maintains an array of debug messages to build a stack trace of up to 20 lines.

Check the input to rig_set_level.
| rig | The rig handle | |
| level | RIG_LEVEL_* trying to set | |
| val | Raw input from the caller | |
| [out] | gran | If not NULL, set to location of level_gran data |

| const char * hl_stars | ( | int | len | ) |
Get a string of stars for indenting messages.
| len | number of stars (sounds kinda like a rating) |