1 /* 2 Bacula(R) - The Network Backup Solution 3 4 Copyright (C) 2000-2020 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 /* 21 * sql_cmds.c contains all the SQL commands that are either issued by the 22 * Director or which are database backend specific. 23 * 24 * This file defines the external definitions necessary to 25 * build on Windows 26 * 27 * Kern Sibbald, July MMII 28 */ 29 30 extern const char CATS_IMP_EXP *batch_fill_filename_query[]; 31 extern const char CATS_IMP_EXP *batch_fill_path_query[]; 32 extern const char CATS_IMP_EXP *batch_lock_filename_query[]; 33 extern const char CATS_IMP_EXP *batch_lock_path_query[]; 34 extern const char CATS_IMP_EXP *batch_unlock_tables_query[]; 35 extern const char CATS_IMP_EXP *bvfs_select_delta_version_with_basejob_and_delta[]; 36 extern const char CATS_IMP_EXP *cleanup_created_job; 37 extern const char CATS_IMP_EXP *cleanup_running_job; 38 extern const char CATS_IMP_EXP *client_backups; 39 extern const char CATS_IMP_EXP *cnt_File; 40 extern const char CATS_IMP_EXP *create_delindex; 41 extern const char CATS_IMP_EXP *create_deltabs[]; 42 extern const char CATS_IMP_EXP *create_temp_accurate_jobids[]; 43 extern const char CATS_IMP_EXP *create_temp_basefile[]; 44 extern const char CATS_IMP_EXP *create_temp_new_basefile[]; 45 extern const char CATS_IMP_EXP *del_MAC; 46 extern const char CATS_IMP_EXP *drop_deltabs[]; 47 extern const char CATS_IMP_EXP *expired_volumes[]; 48 extern const char CATS_IMP_EXP *fill_jobhisto; 49 extern const char CATS_IMP_EXP *get_restore_objects; 50 extern const char CATS_IMP_EXP *insert_counter_values[]; 51 extern const char CATS_IMP_EXP *list_pool; 52 extern const char CATS_IMP_EXP *match_query[]; 53 extern const char CATS_IMP_EXP *select_counter_values[]; 54 extern const char CATS_IMP_EXP *select_recent_version[]; 55 extern const char CATS_IMP_EXP *select_recent_version_with_basejob[]; 56 extern const char CATS_IMP_EXP *select_recent_version_with_basejob_and_delta[]; 57 extern const char CATS_IMP_EXP *sel_JobMedia; 58 extern const char CATS_IMP_EXP *sql_bvfs_list_files[]; 59 extern const char CATS_IMP_EXP *sql_bvfs_select[]; 60 extern const char CATS_IMP_EXP *sql_get_max_connections[]; 61 extern const char CATS_IMP_EXP *sql_media_order_most_recently_written[]; 62 extern const char CATS_IMP_EXP *uap_upgrade_copies_oldest_job[]; 63 extern const char CATS_IMP_EXP *uar_count_files; 64 extern const char CATS_IMP_EXP *uar_count_files; 65 extern const char CATS_IMP_EXP *uar_create_temp[]; 66 extern const char CATS_IMP_EXP *uar_create_temp1[]; 67 extern const char CATS_IMP_EXP *uar_del_temp; 68 extern const char CATS_IMP_EXP *uar_del_temp1; 69 extern const char CATS_IMP_EXP *uar_dif; 70 extern const char CATS_IMP_EXP *uar_file[]; 71 extern const char CATS_IMP_EXP *uar_full; 72 extern const char CATS_IMP_EXP *uar_inc; 73 extern const char CATS_IMP_EXP *uar_jobid_fileindex; 74 extern const char CATS_IMP_EXP *uar_jobid_fileindex_from_dir[]; 75 extern const char CATS_IMP_EXP *uar_jobid_fileindex_from_table; 76 extern const char CATS_IMP_EXP *uar_jobids_fileindex; 77 extern const char CATS_IMP_EXP *uar_last_full; 78 extern const char CATS_IMP_EXP *uar_list_jobs; 79 extern const char CATS_IMP_EXP *uar_list_temp; 80 extern const char CATS_IMP_EXP *uar_mediatype; 81 extern const char CATS_IMP_EXP *uar_print_jobs; 82 extern const char CATS_IMP_EXP *uar_sel_all_temp; 83 extern const char CATS_IMP_EXP *uar_sel_all_temp1; 84 extern const char CATS_IMP_EXP *uar_sel_files; 85 extern const char CATS_IMP_EXP *uar_sel_fileset; 86 extern const char CATS_IMP_EXP *uar_sel_filesetid; 87 extern const char CATS_IMP_EXP *uar_sel_jobid_temp; 88 extern const char CATS_IMP_EXP *update_counter_values[]; 89 extern const char CATS_IMP_EXP *expires_in[]; 90 extern const char CATS_IMP_EXP *prune_cache[]; 91 extern const char CATS_IMP_EXP *strip_restore[]; 92 extern const char CATS_IMP_EXP *count_all_jobs; 93 extern const char CATS_IMP_EXP *count_success_jobs; 94 extern const char CATS_IMP_EXP *count_success_jobids; 95 extern const char CATS_IMP_EXP *count_error_jobs; 96 extern const char CATS_IMP_EXP *count_error_jobids; 97 extern const char CATS_IMP_EXP *count_warning_jobs; 98 extern const char CATS_IMP_EXP *count_warning_jobids; 99 extern const char CATS_IMP_EXP *sum_jobs_bytes; 100 extern const char CATS_IMP_EXP *sum_jobids_bytes; 101 extern const char CATS_IMP_EXP *sum_jobs_files; 102 extern const char CATS_IMP_EXP *sum_jobids_files; 103 extern const char CATS_IMP_EXP *count_all_volumes; 104 extern const char CATS_IMP_EXP *count_avl_volumes; 105 extern const char CATS_IMP_EXP *count_error_volumes; 106 extern const char CATS_IMP_EXP *count_full_volumes; 107 extern const char CATS_IMP_EXP *count_used_volumes; 108 extern const char CATS_IMP_EXP *sum_volumes_bytes; 109 extern const char CATS_IMP_EXP *get_volume_size; 110 extern const char CATS_IMP_EXP *escape_char_value[]; 111