X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=common-src%2Famfeatures.h;h=f0d755957863feac5cf7d87104bc85a3c8803b2c;hb=c6f0a88c567f8536c498f554285aed1f8150da18;hp=4d007e87082af7ddcd4415f4ed1b6f6a15b51fad;hpb=2627875b7d18858bc1f9f7652811e4d8c15a23eb;p=debian%2Famanda diff --git a/common-src/amfeatures.h b/common-src/amfeatures.h index 4d007e8..f0d7559 100644 --- a/common-src/amfeatures.h +++ b/common-src/amfeatures.h @@ -67,7 +67,6 @@ typedef enum { * * auth=BSD * auth=RSH - * auth=KRB4 * auth=krb5 * * and so on. @@ -179,6 +178,21 @@ typedef enum { 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. @@ -186,6 +200,9 @@ typedef enum { 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; @@ -194,6 +211,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); @@ -204,4 +223,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 */