Main Page Class Hierarchy Compound List File List Compound Members File Members

# global_msg.c File Reference

`#include <global_msg.h>`
`#include <time.h>`
`#include <stdio.h>`
`#include <string.h>`
`#include <stdlib.h>`

Go to the source code of this file.

## Functions
double | DTStringToTime (const char *p_datestring)
int | TimeToDTString (const double p_time, char *p_buffer)
GLOBAL_MSG_STATUS | EncodeAuthor (MSG_LOGO p_logo, char *r_buffer)
GLOBAL_MSG_STATUS | DecodeAuthor (MSG_LOGO *p_logo, char *r_buffer)
const char * | GetGlobalAmpTypeName (AMPLITUDE_TYPE p_type)

## Function Documentation

GLOBAL_MSG_STATUS DecodeAuthor | ( | MSG_LOGO * | p_logo,
|  | char * | r_buffer
| ) |

| Definition at line 107 of file global_msg.c. References GLOBAL_MSG_BADPARAM, GLOBAL_MSG_FORMATERROR, GLOBAL_MSG_NULL, GLOBAL_MSG_STATUS, GLOBAL_MSG_SUCCESS, MSG_LOGO::instid, MSG_LOGO::mod, and MSG_LOGO::type. Referenced by StringToAmp(), StringToAmpLine(), StringToLoc(), StringToPhaseLine(), and StringToPick().

double DTStringToTime | ( | const char * | p_datestring | ) |

| Definition at line 12 of file global_msg.c.

GLOBAL_MSG_STATUS EncodeAuthor | ( | MSG_LOGO | p_logo,
|  | char * | r_buffer
| ) |

| Definition at line 87 of file global_msg.c. References GLOBAL_MSG_NULL, GLOBAL_MSG_STATUS, GLOBAL_MSG_SUCCESS, MSG_LOGO::instid, MSG_LOGO::mod, and MSG_LOGO::type. Referenced by WriteAmpLineToBuffer(), WriteAmpToBuffer(), WriteLocToBuffer(), WritePhaseLineToBuffer(), and WritePickToBuffer().

const char* GetGlobalAmpTypeName | ( | AMPLITUDE_TYPE | p_type | ) |

| Definition at line 160 of file global_msg.c. References AMPTYPE_COUNT, and AMPTYPE_NONE.

int TimeToDTString | ( | const double | p_time,
|  | char * | p_buffer
| ) |

| Definition at line 57 of file global_msg.c. References GLOBAL_MSG_NULL, and GLOBAL_MSG_SUCCESS.