Hamlib
3.0.1
|
control hamlib debugging functions More...
#include <stdlib.h>
#include <stdarg.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>
#include <sys/types.h>
#include <hamlib/rig.h>
#include "misc.h"
Macros | |
#define | DUMP_HEX_WIDTH 16 |
Functions | |
void | dump_hex (const unsigned char ptr[], size_t size) |
Do a hex dump of the unsigned char array. More... | |
void | rig_set_debug (enum rig_debug_level_e debug_level) |
Change the current debug level. More... | |
int | rig_need_debug (enum rig_debug_level_e debug_level) |
Useful for dump_hex, etc. More... | |
void | rig_debug (enum rig_debug_level_e debug_level, const char *fmt,...) |
Default is debugging messages are done through stderr. More... | |
vprintf_cb_t | rig_set_debug_callback (vprintf_cb_t cb, char *arg) |
set callback to handle debug messages More... | |
FILE * | rig_set_debug_file (FILE *stream) |
change stderr to some different output More... | |
control hamlib debugging functions
Hamlib documentation for version 3.0.1 -- Wed Jan 13 2016 15:05:23
Project page: http://www.hamlib.org