X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=common-src%2Famfeatures.h;h=8c5b5f82f4d511567128d85b73f215f1b09eb724;hb=cb115640695b55ed9c0a8dbeb414219b09438aa7;hp=4d007e87082af7ddcd4415f4ed1b6f6a15b51fad;hpb=79cdc4b6ea8848b21ba4a0e7d2fd3bc401e0bebe;p=debian%2Famanda diff --git a/common-src/amfeatures.h b/common-src/amfeatures.h index 4d007e8..8c5b5f8 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,16 @@ 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, /* * All new features must be inserted immediately *before* this entry. @@ -186,6 +195,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 +206,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 +217,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 */