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

Annotation of /lbbs/include/database.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (hide annotations)
Fri May 2 03:34:58 2025 UTC (10 months, 2 weeks ago) by sysadm
Branch: MAIN
Changes since 1.4: +9 -0 lines
Content type: text/x-chdr
Refine

1 sysadm 1.1 /***************************************************************************
2 sysadm 1.4 database.h - description
3     -------------------
4     begin : Mon Oct 18 2004
5     copyright : (C) 2004 by Leaflet
6     email : leaflet@leafok.com
7 sysadm 1.1 ***************************************************************************/
8    
9     /***************************************************************************
10     * *
11     * This program is free software; you can redistribute it and/or modify *
12     * it under the terms of the GNU General Public License as published by *
13     * the Free Software Foundation; either version 2 of the License, or *
14     * (at your option) any later version. *
15     * *
16     ***************************************************************************/
17    
18 sysadm 1.3 #ifndef _DATABASE_H_
19     #define _DATABASE_H_
20    
21 sysadm 1.1 #include <mysql.h>
22    
23 sysadm 1.5 #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 sysadm 1.4 extern MYSQL *db_open();
33 sysadm 1.3
34     #endif //_DATABASE_H_

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