49 lines
2.2 KiB
C
49 lines
2.2 KiB
C
/*---------------------------------------------------------------------------------*/
|
|
/* $RCSfile: testEntrColumns.h,v $ */
|
|
/*---------------------------------------------------------------------------------*/
|
|
/* $Revision: 1.1 $ */
|
|
/* $Name: $ */
|
|
/* $Date: 2006/02/28 23:28:21 $ */
|
|
/* $Author: agibert $ */
|
|
/*---------------------------------------------------------------------------------*/
|
|
|
|
/*---------------------------------------------------------------------------------*/
|
|
/* This file is part of LibDataBase */
|
|
/* */
|
|
/* LibDataBase is free software; you can redistribute it and/or modify */
|
|
/* it under the terms of the GNU Lesser General Public Licence as published by */
|
|
/* the Free Software Foundation; either version 2.1 of the License, or */
|
|
/* (at your option) any later version. */
|
|
/* */
|
|
/* LibDataBase is distributed in the hope that it will be useful, */
|
|
/* but WITHOUT ANY WARRANTY; without even the implied warranty of */
|
|
/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */
|
|
/* GNU Lesser General Public License for more details. */
|
|
/* */
|
|
/* You should have received a copy of the GNU Lesser General Public License */
|
|
/* along with LibDataBase; if not, write to the Free Software */
|
|
/* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
|
|
/*---------------------------------------------------------------------------------*/
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef TESTENTRCOLUMNS_H
|
|
#define TESTENTRCOLUMNS_H
|
|
|
|
|
|
#define MAX_COLUMNS 38
|
|
#define STRING_SIZE 20
|
|
#define DATE_SIZE 20
|
|
#define INTEGER_SIZE sizeof(int)
|
|
|
|
int setupHostVars(void);
|
|
void setupData(int n);
|
|
char *createSelectRequest(int columns);
|
|
char *createInsertRequest(int columns);
|
|
void displayValues(int rowsCount);
|
|
|
|
|
|
#endif
|