Former-commit-id:133dc97f67
[formerlya02aeb236c
] [formerly9f19e3f712
] [formerly06a8b51d6d
[formerly9f19e3f712
[formerly 64fa9254b946eae7e61bbc3f513b7c3696c4f54f]]] Former-commit-id:06a8b51d6d
Former-commit-id:377dcd10b9
[formerly3360eb6c5f
] Former-commit-id:8e80217e59
42 lines
1.1 KiB
C
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
|