awips2/nativeLib/rary.ohd.whfs/inc/dbms/Forecast.h
root 8e80217e59 Initial revision of AWIPS2 11.9.0-7p5
Former-commit-id: a02aeb236c [formerly 9f19e3f712] [formerly 06a8b51d6d [formerly 64fa9254b946eae7e61bbc3f513b7c3696c4f54f]]
Former-commit-id: 06a8b51d6d
Former-commit-id: 3360eb6c5f
2012-01-06 08:55:05 -06:00

42 lines
1.1 KiB
C

/*
File: Forecast.h
Purpose: Provides methods for accessing
INFORMIX database for the purpose of
selecting, inserting, updating, and
deleting fields from the table.
Note: When using variables of type locator
as structure members, the programmer is
is responsible for setting the loc_size
member of that structure when performing
UPDATE and INSERT operations.
Failure to set the size of this variable
will provide unknown results.
*/
#ifndef Forecast_h
#define Forecast_h
/*
Local library includes.
*/
#include "List.h"
#include "FcstHeight.h"
typedef FcstHeight Forecast;
/*
Function prototypes.
*/
Forecast *GetForecast(const char *where, const char *table);
void FreeForecast(Forecast *);
int PutForecast(Forecast *sp, const char *table);
int UpdateForecast(Forecast *sp, const char *where, const char *table);
int DeleteForecast(const char *where, const char* table);
long find_fcst_set_index(const char *table);
#endif