2015-03-23 16:03:14 -05:00
|
|
|
#ifndef MESSAGE_PROTO_H
|
|
|
|
#define MESSAGE_PROTO_H
|
2015-02-26 09:02:31 -06:00
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <stdarg.h>
|
|
|
|
|
|
|
|
#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
|
|
|
|
|