#include "mysql/mysql.h"
typedef struct DataLib {
MYSQL mysql;
char *host;
char *dbname;
char *user;
char *password;
} DataLib;
typedef DataLib *pDataLib;
int connect2DB(char *host,char *dbname,char *user,char *password);
int startQuery(char *sql);
char **getRow(void);
####
h2xs -xmas -nDataLib DataLib.h
####
h2xs -xmas -nDataLib DataLib.h
Defaulting to backwards compatibility with perl 5.8.0
If you intend this module to be compatible with earlier perl versions, please
specify a minimum perl version with the -b option.
Writing DataLib/ppport.h
Scanning typemaps...
Scanning /usr/lib/perl5/5.8.0/ExtUtils/typemap
Scanning DataLib.h for functions...
Expecting parenth after identifier in `fd_set *__restrict __readfds'
after `fd_set *__restrict ' at /usr/lib/perl5/site_perl/5.8.0/C/Scan.pm line 797.