/[LeafOK_CVS]/lbbs/include/database.h
ViewVC logotype

Diff of /lbbs/include/database.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.2 by sysadm, Mon Mar 21 05:43:43 2005 UTC Revision 1.5 by sysadm, Fri May 2 03:34:58 2025 UTC
# Line 1  Line 1 
1  /***************************************************************************  /***************************************************************************
2                            database.h  -  description                                                    database.h  -  description
3                               -------------------                                                           -------------------
4      begin                : Mon Oct 18 2004          begin                : Mon Oct 18 2004
5      copyright            : (C) 2004 by Leaflet          copyright            : (C) 2004 by Leaflet
6      email                : leaflet@leafok.com          email                : leaflet@leafok.com
7   ***************************************************************************/   ***************************************************************************/
8    
9  /***************************************************************************  /***************************************************************************
# Line 15  Line 15 
15   *                                                                         *   *                                                                         *
16   ***************************************************************************/   ***************************************************************************/
17    
18    #ifndef _DATABASE_H_
19    #define _DATABASE_H_
20    
21  #include <mysql.h>  #include <mysql.h>
22    
23  MYSQL *db_open ();  #define SQL_BUFFER_LEN 2048
24    
25    // Database
26    extern char DB_host[256];
27    extern char DB_username[50];
28    extern char DB_password[50];
29    extern char DB_database[50];
30    extern char DB_timezone[50];
31    
32    extern MYSQL *db_open();
33    
34    #endif //_DATABASE_H_


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1