mirror of
https://github.com/nasa/trick.git
synced 2025-01-09 22:42:47 +00:00
14a75508a3
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.
32 lines
724 B
C
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
|