X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=common-src%2Famfeatures.h;h=74a23fff9333e3851fe95d2d0ab7f30e54893bfb;hb=HEAD;hp=1398c646382c08f06e9a58b01dd43982ee5902a2;hpb=d3b2175e084f88c8736ad7073eacbf4670147aec;p=debian%2Famanda diff --git a/common-src/amfeatures.h b/common-src/amfeatures.h index 1398c64..74a23ff 100644 --- a/common-src/amfeatures.h +++ b/common-src/amfeatures.h @@ -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_backup_api, /* require fe_sendsize_req_options */ + fe_program_application_api, /* require fe_sendsize_req_options */ fe_options_compress_fast, fe_options_compress_best, @@ -172,6 +172,28 @@ 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. @@ -179,6 +201,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; @@ -187,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); @@ -197,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 */