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

global_pick_rw.c File Reference

#include <global_pick_rw.h>
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <kom.h>

Go to the source code of this file.

Defines

#define GLOBAL_PICK_VERSION   (short)1

Functions

GLOBAL_MSG_STATUS InitGlobalPick (GLOBAL_PICK_STRUCT *p_struct)
GLOBAL_MSG_STATUS WritePickToBuffer (GLOBAL_PICK_STRUCT *p_struct, char *p_buffer, unsigned int p_length)
GLOBAL_MSG_STATUS StringToPick (GLOBAL_PICK_STRUCT *p_struct, char *p_string)


Define Documentation

#define GLOBAL_PICK_VERSION   (short)1
 

Definition at line 14 of file global_pick_rw.c.

Referenced by InitGlobalPick(), StringToPick(), and WritePickToBuffer().


Function Documentation

GLOBAL_MSG_STATUS InitGlobalPick GLOBAL_PICK_STRUCT   p_struct
 

Definition at line 20 of file global_pick_rw.c.

References GLOBAL_PICK_MSG::channel, GLOBAL_MSG_NULL, GLOBAL_MSG_STATUS, GLOBAL_MSG_SUCCESS, GLOBAL_PICK_VERSION, MSG_LOGO::instid, GLOBAL_PICK_MSG::location, GLOBAL_PICK_MSG::logo, MSG_LOGO::mod, GLOBAL_PICK_MSG::network, GLOBAL_PICK_MSG::phase_name, GLOBAL_PICK_MSG::pick_time, GLOBAL_PICK_MSG::polarity, GLOBAL_PICK_MSG::quality, GLOBAL_PICK_MSG::sequence, GLOBAL_PICK_MSG::station, MSG_LOGO::type, and GLOBAL_PICK_MSG::version.

Referenced by StringToPick().

GLOBAL_MSG_STATUS StringToPick GLOBAL_PICK_STRUCT   p_struct,
char *    p_string
 

Definition at line 94 of file global_pick_rw.c.

References GLOBAL_PICK_MSG::channel, DecodeAuthor(), GLOBAL_MSG_BADPARAM, GLOBAL_MSG_FORMATERROR, GLOBAL_MSG_NULL, GLOBAL_MSG_STATUS, GLOBAL_MSG_SUCCESS, GLOBAL_MSG_VERSINVALID, GLOBAL_PICK_VERSION, InitGlobalPick(), k_err(), k_long(), k_put(), k_str(), k_val(), GLOBAL_PICK_MSG::location, GLOBAL_PICK_MSG::logo, GLOBAL_PICK_MSG::network, GLOBAL_PICK_MSG::phase_name, GLOBAL_PICK_MSG::pick_time, GLOBAL_PICK_MSG::polarity, GLOBAL_PICK_MSG::quality, GLOBAL_PICK_MSG::sequence, GLOBAL_PICK_MSG::station, and GLOBAL_PICK_MSG::version.

GLOBAL_MSG_STATUS WritePickToBuffer GLOBAL_PICK_STRUCT   p_struct,
char *    p_buffer,
unsigned int    p_length
 

Definition at line 45 of file global_pick_rw.c.

References GLOBAL_PICK_MSG::channel, EncodeAuthor(), GLOBAL_MSG_BADPARAM, GLOBAL_MSG_NULL, GLOBAL_MSG_STATUS, GLOBAL_MSG_SUCCESS, GLOBAL_MSG_TOOSMALL, GLOBAL_MSG_VERSINVALID, GLOBAL_PICK_MAXBUFSIZE, GLOBAL_PICK_VERSION, GLOBAL_PICK_MSG::location, GLOBAL_PICK_MSG::logo, GLOBAL_PICK_MSG::network, GLOBAL_PICK_MSG::phase_name, GLOBAL_PICK_MSG::pick_time, GLOBAL_PICK_MSG::polarity, GLOBAL_PICK_MSG::quality, GLOBAL_PICK_MSG::sequence, GLOBAL_PICK_MSG::station, and GLOBAL_PICK_MSG::version.


Generated on Tue May 6 09:16:16 2003 for Earthworm Libs by doxygen1.3-rc3