Imported Upstream version 3.3.1
[debian/amanda] / common-src / amxml.h
index a8954e46b63447d4fcfedf71ab0abd406cda1cfe..a8d40456b72c6cf46bf6323c1d85261db283ba61 100644 (file)
@@ -40,6 +40,7 @@ typedef struct script_s {
     execute_on_t                   execute_on;
     int                            execute_where;
     proplist_t                     property;
+    char                          *client_name;
     struct client_script_result_s *result;
 } script_t;
 
@@ -78,7 +79,9 @@ typedef struct a_dle_s {
     sl_t   *include_list;
     int     exclude_optional;
     int     include_optional;
+    proplist_t property;
     proplist_t application_property;
+    char        *application_client_name;
     scriptlist_t scriptlist;
     data_path_t  data_path;
     GSList      *directtcp_list;
@@ -87,6 +90,8 @@ typedef struct a_dle_s {
 
 dle_t *alloc_dle(void);
 void   init_dle(dle_t *dle);
+void   free_dle(dle_t *dle);
+void   free_script_data(script_t *script);
 dle_t *amxml_parse_node_CHAR(char *txt, char **errmsg);
 dle_t *amxml_parse_node_FILE(FILE *file, char **errmsg);
 char  *amxml_format_tag(char *tag, char *value);