#include <GetStationInfo.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <passthebuck.h>
Go to the source code of this file.
◆ CALLOC
#define CALLOC |
( |
|
ptr, |
|
|
|
typ, |
|
|
|
num |
|
) |
| |
Value: { \
(ptr) = (typ *)calloc((num) , sizeof(typ)); \
fprintf(
stderr,
"-E- %s line %d: Memory allocation failure.\n", \
__FILE__,__LINE__); \
} \
}
Definition at line 39 of file GetStationInfo.c.
◆ CODE_STR
◆ DATA_CENTER_STR
#define DATA_CENTER_STR "data center" |
◆ ENVIRONMENT_VAR
#define ENVIRONMENT_VAR "HRPT_STATION_IDENTIFICATION_FILE" |
◆ STATION_LAT_STR
#define STATION_LAT_STR "station latitude" |
◆ STATION_LON_STR
#define STATION_LON_STR "station longitude" |
◆ STATION_NAME_STR
#define STATION_NAME_STR "station name" |
◆ GetStationInfo()
int GetStationInfo |
( |
char * |
stationInfoFile, |
|
|
StationInfo * |
stationInfo |
|
) |
| |