]> git.sur5r.net Git - bacula/bacula/blob - bacula/src/cats/sql_cmds.h
Add ExpiresIn field in list and llist media output
[bacula/bacula] / bacula / src / cats / sql_cmds.h
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 /*
22  *  sql_cmds.c contains all the SQL commands that are either issued by the
23  *    Director or which are database backend specific.
24  *
25  *   This file defines the external definitions necessary to
26  *    build on Windows
27  *
28  *     Kern Sibbald, July MMII
29  */
30
31 extern const char CATS_IMP_EXP *batch_fill_filename_query[];
32 extern const char CATS_IMP_EXP *batch_fill_path_query[];
33 extern const char CATS_IMP_EXP *batch_lock_filename_query[];
34 extern const char CATS_IMP_EXP *batch_lock_path_query[];
35 extern const char CATS_IMP_EXP *batch_unlock_tables_query[];
36 extern const char CATS_IMP_EXP *bvfs_select_delta_version_with_basejob_and_delta[];
37 extern const char CATS_IMP_EXP *cleanup_created_job;
38 extern const char CATS_IMP_EXP *cleanup_running_job;
39 extern const char CATS_IMP_EXP *client_backups;
40 extern const char CATS_IMP_EXP *cnt_File;
41 extern const char CATS_IMP_EXP *create_delindex;
42 extern const char CATS_IMP_EXP *create_deltabs[];
43 extern const char CATS_IMP_EXP *create_temp_accurate_jobids[];
44 extern const char CATS_IMP_EXP *create_temp_basefile[];
45 extern const char CATS_IMP_EXP *create_temp_new_basefile[];
46 extern const char CATS_IMP_EXP *del_MAC;
47 extern const char CATS_IMP_EXP *drop_deltabs[];
48 extern const char CATS_IMP_EXP *expired_volumes[];
49 extern const char CATS_IMP_EXP *fill_jobhisto;
50 extern const char CATS_IMP_EXP *get_restore_objects;
51 extern const char CATS_IMP_EXP *insert_counter_values[];
52 extern const char CATS_IMP_EXP *list_pool;
53 extern const char CATS_IMP_EXP *match_query[];
54 extern const char CATS_IMP_EXP *select_counter_values[];
55 extern const char CATS_IMP_EXP *select_recent_version[];
56 extern const char CATS_IMP_EXP *select_recent_version_with_basejob[];
57 extern const char CATS_IMP_EXP *select_recent_version_with_basejob_and_delta[];
58 extern const char CATS_IMP_EXP *sel_JobMedia;
59 extern const char CATS_IMP_EXP *sql_bvfs_list_files[];
60 extern const char CATS_IMP_EXP *sql_bvfs_select[];
61 extern const char CATS_IMP_EXP *sql_get_max_connections[];
62 extern const char CATS_IMP_EXP *sql_media_order_most_recently_written[];
63 extern const char CATS_IMP_EXP *uap_upgrade_copies_oldest_job[];
64 extern const char CATS_IMP_EXP *uar_count_files;
65 extern const char CATS_IMP_EXP *uar_count_files;
66 extern const char CATS_IMP_EXP *uar_create_temp[];
67 extern const char CATS_IMP_EXP *uar_create_temp1[];
68 extern const char CATS_IMP_EXP *uar_del_temp;
69 extern const char CATS_IMP_EXP *uar_del_temp1;
70 extern const char CATS_IMP_EXP *uar_dif;
71 extern const char CATS_IMP_EXP *uar_file[];
72 extern const char CATS_IMP_EXP *uar_full;
73 extern const char CATS_IMP_EXP *uar_inc;
74 extern const char CATS_IMP_EXP *uar_jobid_fileindex;
75 extern const char CATS_IMP_EXP *uar_jobid_fileindex_from_dir[];
76 extern const char CATS_IMP_EXP *uar_jobid_fileindex_from_table;
77 extern const char CATS_IMP_EXP *uar_jobids_fileindex;
78 extern const char CATS_IMP_EXP *uar_last_full;
79 extern const char CATS_IMP_EXP *uar_list_jobs;
80 extern const char CATS_IMP_EXP *uar_list_temp;
81 extern const char CATS_IMP_EXP *uar_mediatype;
82 extern const char CATS_IMP_EXP *uar_print_jobs;
83 extern const char CATS_IMP_EXP *uar_sel_all_temp;
84 extern const char CATS_IMP_EXP *uar_sel_all_temp1;
85 extern const char CATS_IMP_EXP *uar_sel_files;
86 extern const char CATS_IMP_EXP *uar_sel_fileset;
87 extern const char CATS_IMP_EXP *uar_sel_filesetid;
88 extern const char CATS_IMP_EXP *uar_sel_jobid_temp;
89 extern const char CATS_IMP_EXP *update_counter_values[]; 
90 extern const char CATS_IMP_EXP *expires_in[];