lintian doesn't like orphan packages with uploaders...
[debian/amanda] / server-src / server_util.h
index e7a2606edf4601ffe5cc08c853717225152b1faa..075447816c116d502316218ed5d51acea5ae2303 100644 (file)
@@ -1,6 +1,7 @@
 /*
  * Amanda, The Advanced Maryland Automatic Network Disk Archiver
  * Copyright (c) 1991-1999 University of Maryland at College Park
+ * Copyright (c) 2007-2012 Zmanda, Inc.  All Rights Reserved.
  * All Rights Reserved.
  *
  * Permission to use, copy, modify, distribute, and sell this software and its
@@ -50,7 +51,7 @@ enum {
     PARTDONE, PORT_WRITE, DUMPER_STATUS,                /* ... cmds */
     PORT, TAPE_ERROR, TAPER_OK,                                /* taper results */
     REQUEST_NEW_TAPE, DIRECTTCP_PORT, TAKE_SCRIBE_FROM,
-    START_SCAN, LAST_TOK
+    START_SCAN, CLOSE_VOLUME, LAST_TOK
 };
 extern const char *cmdstr[];
 
@@ -83,10 +84,15 @@ void run_server_script(pp_script_t  *pp_script,
                       char         *config,
                       disk_t       *dp,
                       int           level);
-void run_server_scripts(execute_on_t  execute_on,
-                       char         *config,
-                       disk_t       *dp,
-                       int           level);
+void run_server_dle_scripts(execute_on_t  execute_on,
+                           char         *config,
+                           disk_t       *dp,
+                           int           level);
+void run_server_host_scripts(execute_on_t  execute_on,
+                            char         *config,
+                            am_host_t    *hostp);
+void run_server_global_scripts(execute_on_t  execute_on,
+                              char         *config);
 
 void run_amcleanup(char *config_name);
 char *get_master_process(char *logfile);