X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=common-src%2Famfeatures.h;h=7934088b98a57d18a8e8e1162f6c689e10bbc250;hb=fd48f3e498442f0cbff5f3606c7c403d0566150e;hp=4d007e87082af7ddcd4415f4ed1b6f6a15b51fad;hpb=96f35b20267e8b1a1c846d476f27fcd330e0b018;p=debian%2Famanda diff --git a/common-src/amfeatures.h b/common-src/amfeatures.h index 4d007e8..7934088 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,15 @@ 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, /* * All new features must be inserted immediately *before* this entry. @@ -186,6 +194,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 +205,7 @@ typedef struct am_feature_s { /* * Functions. */ + 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 +216,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 */