trick/trick_source/trick_utils/comm/include/hs_msg.h
Alex Lin 14a75508a3 Cleaning up once include variables and copyright cleanup.
Changed all header file once include variables to follow the same naming
convention and not start with any underscores.  Also deleted old
incorrect copyright notices.  Also removed $Id: tags from all files.

Fixes #14.  Fixes #22.
2015-03-23 16:03:14 -05:00

32 lines
724 B
C

#ifndef HS_MSG_H
#define HS_MSG_H
#define MAX_MSG_SIZE 4096
#ifdef __cplusplus
extern "C" {
#endif
typedef struct {
char sim_name[48]; /* -- Sim/Task-group name msg is
coming from */
char hostname[48]; /* -- Machine name msg is coming from */
double ret; /* -- Run elapsed time */
int parent_child_num; /* -- Parent or child process number */
int msgsize; /* -- Size in bytes of following msg */
char datebuff[32]; /* -- Date and time string */
/* NOTE: msg[MAX_MSG_SIZE] MUST be the LAST
* element of this structure
*/
char msg[MAX_MSG_SIZE]; /* -- the message */
} HS_MSG;
#ifdef __cplusplus
}
#endif
#endif