summaryrefslogtreecommitdiff
path: root/storage/connect/myutil.h
blob: 9c22cfef1189c8c2953379eac59e38e1af69d379 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/***********************************************************************/
/*  Prototypes of Functions used externally.                           */
/***********************************************************************/
#ifndef __MYUTIL__H
#define  __MYUTIL__H

enum enum_field_types PLGtoMYSQL(int type, bool dbf, char var = 0);
const char *PLGtoMYSQLtype(int type, bool dbf, char var = 0);
int   MYSQLtoPLG(char *typname, char *var = NULL);
int   MYSQLtoPLG(int mytype, char *var = NULL);
char *MyDateFmt(int mytype);
char *MyDateFmt(char *typname);

#endif // __MYUTIL__H