27 lines
539 B
C
Raw Normal View History

#ifndef MESSAGE_PROTO_H
#define MESSAGE_PROTO_H
2015-02-26 09:02:31 -06:00
#include <stdio.h>
#include <stdarg.h>
#include "message_type.h"
2015-02-26 09:02:31 -06:00
#ifdef __cplusplus
extern "C" {
#endif
int message_publish(int level, const char *format_msg, ...) ;
int message_publish_standalone(int level, const char *format_msg, ...) ;
int send_hs(FILE * fp, const char *format_msg, ...) ;
#ifndef SWIG
int vmessage_publish(int level, const char *format_msg, va_list args) ;
int vsend_hs(FILE * fp, const char *format_msg, va_list args) ;
#endif
#ifdef __cplusplus
}
#endif
#endif