]> sigrok.org Git - libsigrokdecode.git/blobdiff - sigrokdecode-internal.h
srd: Add/use SRD_API/SRD_PRIV macros.
[libsigrokdecode.git] / sigrokdecode-internal.h
index 94c0c49b074230c7f3fd764a5b5384b889ace0c7..86a77e4fa6d4bc18b46fcabbaeb9e7bba6707b77 100644 (file)
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
-#ifndef SIGROKDECODE_SIGROKDECODE_INTERNAL_H
-#define SIGROKDECODE_SIGROKDECODE_INTERNAL_H
+#ifndef LIBSIGROKDECODE_SIGROKDECODE_INTERNAL_H
+#define LIBSIGROKDECODE_SIGROKDECODE_INTERNAL_H
 
+#include "sigrokdecode.h"
 // #include <stdarg.h>
 // #include <glib.h>
 
 
 /*--- log.c -----------------------------------------------------------------*/
 
-int srd_log(int loglevel, const char *format, ...);
-int srd_spew(const char *format, ...);
-int srd_dbg(const char *format, ...);
-int srd_info(const char *format, ...);
-int srd_warn(const char *format, ...);
-int srd_err(const char *format, ...);
+SRD_PRIV int srd_log(int loglevel, const char *format, ...);
+SRD_PRIV int srd_spew(const char *format, ...);
+SRD_PRIV int srd_dbg(const char *format, ...);
+SRD_PRIV int srd_info(const char *format, ...);
+SRD_PRIV int srd_warn(const char *format, ...);
+SRD_PRIV int srd_err(const char *format, ...);
 
 #endif