X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=sigrok-internal.h;h=f78be464fd76a071225ae4ff3dd63ddfae06d715;hb=cc8a7d250cf7daff452ce376224c9853529204ca;hp=4aeae18e4cdd904b0edb97517b6dcb24c79b3f96;hpb=f5a443f27ad0e99f8f0f93867a1f298d7a6a327a;p=libsigrok.git diff --git a/sigrok-internal.h b/sigrok-internal.h index 4aeae18e..f78be464 100644 --- a/sigrok-internal.h +++ b/sigrok-internal.h @@ -20,6 +20,9 @@ #ifndef SIGROK_SIGROK_INTERNAL_H #define SIGROK_SIGROK_INTERNAL_H +#include +#include + /*--- Macros ----------------------------------------------------------------*/ #ifndef ARRAY_SIZE @@ -37,6 +40,15 @@ int load_hwplugins(void); +/*--- log.c -----------------------------------------------------------------*/ + +int sr_log(int loglevel, const char *format, ...); +int sr_spew(const char *format, ...); +int sr_dbg(const char *format, ...); +int sr_info(const char *format, ...); +int sr_warn(const char *format, ...); +int sr_err(const char *format, ...); + /*--- hardware/common/serial.c ----------------------------------------------*/ GSList *list_serial_ports(void);