lintian doesn't like orphan packages with uploaders...
[debian/amanda] / common-src / amfeatures.h
index 562ca2193d99b5fe687b0b96b3bed429b386dc9e..74a23fff9333e3851fe95d2d0ab7f30e54893bfb 100644 (file)
@@ -1,6 +1,7 @@
 /*
  * Amanda, The Advanced Maryland Automatic Network Disk Archiver
  * Copyright (c) 1991-1998 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
@@ -67,7 +68,6 @@ typedef enum {
      *
      * auth=BSD
      * auth=RSH
-     * auth=KRB4
      * auth=krb5
      *
      * and so on.
@@ -93,7 +93,7 @@ typedef enum {
 
     fe_program_dump,
     fe_program_gnutar,
-    fe_program_dumper_api,             /* require fe_sendsize_req_options */
+    fe_program_application_api,                /* require fe_sendsize_req_options */
 
     fe_options_compress_fast,
     fe_options_compress_best,
@@ -171,12 +171,39 @@ typedef enum {
 
     fe_req_options_config,
 
+    fe_rep_sendsize_quoted_error,
+    fe_req_xml,
+    fe_pp_script,      // only in XML
+    fe_amindexd_DLE,
+    fe_amrecover_dle_in_header,
+    fe_xml_estimate,
+    fe_xml_property_priority,
+    fe_sendsize_rep_warning,
+    fe_xml_estimatelist,
+    fe_xml_level_server,
+    fe_xml_data_path,
+    fe_xml_directtcp_list,
+    fe_amidxtaped_datapath,
+    fe_sendbackup_noop,
+    fe_amrecover_origsize_in_header,
+    fe_amidxtaped_abort,
+    fe_amrecover_correct_disk_quoting,
+    fe_amindexd_quote_label,
+
+    fe_amrecover_receive_unfiltered,
+    fe_application_client_name,
+    fe_script_client_name,
+    fe_dumptype_property,
+
     /*
      * All new features must be inserted immediately *before* this entry.
      */
     last_feature
 } am_feature_e;
 
+/* don't include this struct or the subsequent functions in Amanda::Feature SWIG */
+#ifndef AMANDA_FEATURE_SWG
+
 typedef struct am_feature_s {
     size_t             size;
     unsigned char      *bytes;
@@ -185,6 +212,8 @@ typedef struct am_feature_s {
 /*
  * Functions.
  */
+
+extern am_feature_t *am_features(am_feature_t *f);
 extern am_feature_t *am_init_feature_set(void);
 extern am_feature_t *am_set_default_feature_set(void);
 extern am_feature_t *am_allocate_feature_set(void);
@@ -195,4 +224,6 @@ extern int am_has_feature(am_feature_t *f, am_feature_e n);
 extern char *am_feature_to_string(am_feature_t *f);
 extern am_feature_t *am_string_to_feature(char *s);
 
+#endif
+
 #endif /* !AMFEATURES_H */