trick/trick_source/sim_services/Message/include/message_proto.h
Alex Lin 306dee18a3 Clean up once include variables
Missed a couple of files where message_publish is in an ifdef __APPLE__
section.  But I decided to put message_type.h back in message_proto.h
because taking it out would affect a lot of user code.

Adds to #14.
2015-03-23 17:01:40 -05:00

27 lines
539 B
C

#ifndef MESSAGE_PROTO_H
#define MESSAGE_PROTO_H
#include <stdio.h>
#include <stdarg.h>
#include "message_type.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