Hamlib 4.7~git
Loading...
Searching...
No Matches
Hamlib internals

Macros

#define ERROR_TBL_SZ   (sizeof(rigerror_table)/sizeof(char *))
 Convenience macro calculating rigerror_table size.

Functions

void add2debugmsgsave (const char *s)
 Handle stack trace messages.

Detailed Description

Macro Definition Documentation

◆ ERROR_TBL_SZ

#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.

Function Documentation

◆ add2debugmsgsave()

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.

See also
rigerror()
Here is the call graph for this function: