awips2/nativeLib/rary.ohd.whfs/inc/dbms/Observation.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

43 lines
1.1 KiB
C

/*
File:
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 Observation_h
#define Observation_h
/*
Local library includes.
*/
#include "List.h"
#include "Height.h"
typedef Height Observation;
/*
Function prototypes.
*/
Observation *GetObservation(const char *where, const char *table);
void FreeObservation(Observation *);
int PutObservation(Observation *sp, const char *table);
int UpdateObservation(Observation *sp, const char *where, const char *table);
int DeleteObservation(const char *where, const char* table);
long find_function_set_index(const char *table);
#endif