00001
00002 #ifndef COMMON_h
00003 #define COMMON_h
00004
00005 static char rcsid_common_h[] = "$Id: common.h,v 1.5 2002/11/22 12:55:23 freddy77 Exp $";
00006 static void *no_unused_common_h_warn[] = { rcsid_common_h, no_unused_common_h_warn };
00007
00008 extern char PASSWORD[512];
00009 extern char USER[512];
00010 extern char SERVER[512];
00011 extern char DATABASE[512];
00012
00013 int try_tds_login(TDSLOGIN ** login, TDSSOCKET ** tds, const char *appname, int verbose);
00014 int try_tds_logout(TDSLOGIN * login, TDSSOCKET * tds, int verbose);
00015
00016 int run_query(TDSSOCKET * tds, const char *query);
00017
00018 #endif