]> git.sur5r.net Git - bacula/bacula/blob - bacula/src/cats/cats_null.c
df00f8eaf1f44b7618b7459a4291096a54a5a8b2
[bacula/bacula] / bacula / src / cats / cats_null.c
1 /* 
2    Bacula(R) - The Network Backup Solution
3
4    Copyright (C) 2000-2015 Kern Sibbald
5    Copyright (C) 2000-2014 Free Software Foundation Europe e.V.
6
7    The original author of Bacula is Kern Sibbald, with contributions
8    from many others, a complete list can be found in the file AUTHORS.
9
10    You may use this file and others of this release according to the
11    license defined in the LICENSE file, which includes the Affero General
12    Public License, v3.0 ("AGPLv3") and some additional permissions and
13    terms pursuant to its AGPLv3 Section 7.
14
15    This notice must be preserved when any source code is 
16    conveyed and/or propagated.
17
18    Bacula(R) is a registered trademark of Kern Sibbald.
19 */ 
20 /* 
21  * Null Bacula backend function replaced with the correct one
22  *  at install time.
23  */ 
24  
25 #include  "bacula.h"
26 #include  "cats.h"
27  
28 BDB *db_init_database(JCR *jcr, const char *db_driver, const char *db_name,
29          const char *db_user, const char *db_password, const char *db_address,
30          int db_port, const char *db_socket, bool mult_db_connections,
31          bool disable_batch_insert)
32
33    Jmsg(jcr, M_FATAL, 0, _("Please replace this null libbaccats library with a proper one.\n"));
34    return NULL; 
35