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