awips2/nativeLib/rary.ohd.whfs/inc/dbms/SnowMethod.h
root 06a8b51d6d Initial revision of AWIPS2 11.9.0-7p5
Former-commit-id: 64fa9254b946eae7e61bbc3f513b7c3696c4f54f
2012-01-06 08:55:05 -06:00

51 lines
1.6 KiB
C

/*
File: SnowMethod.h
Author : CDBGEN
Created : Wed Aug 06 12:34:16 EDT 2008 using database hd_ob83empty
Description: This header file is associated with its .pgc file
and defines functions and the table's record structure.
*/
#ifndef SnowMethod_h
#define SnowMethod_h
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <memory.h>
#include "DbmsAccess.h"
#include "DbmsUtils.h"
#include "List.h"
#include "GeneralUtil.h"
#include "dbmserrs.h"
#include "datetime.h"
#include "time_convert.h"
typedef struct _SnowMethod
{
Node node;
char snow_method[31];
List list;
} SnowMethod;
/*
Function Prototypes
*/
SnowMethod* GetSnowMethod(const char * where);
SnowMethod* SelectSnowMethod(const char * where);
int SelectSnowMethodCount(const char * where);
int PutSnowMethod(const SnowMethod * structPtr);
int InsertSnowMethod(const SnowMethod * structPtr);
int UpdateSnowMethod(const SnowMethod* structPtr, const char *where);
int DeleteSnowMethod(const char *where);
int UpdateSnowMethodByRecord (const SnowMethod * newStructPtr, const SnowMethod * oldStructPtr);
int InsertOrUpdateSnowMethod(const SnowMethod * structPtr);
int InsertIfUniqueSnowMethod(const SnowMethod * structPtr, bool *isUnique);
bool SnowMethodExists(const SnowMethod * structPtr);
int DeleteSnowMethodByRecord(const SnowMethod * structPtr);
void GetSnowMethodPrimaryKeyWhereString (const SnowMethod * structPtr, char returnWhereString[] );
void FreeSnowMethod(SnowMethod * structPtr);
DbStatus * GetSnowMethodDbStatus();
void SetSnowMethodErrorLogging(int value);
#endif