/*
Bacula® - The Network Backup Solution
- Copyright (C) 2007-2008 Free Software Foundation Europe e.V.
+ Copyright (C) 2007-2009 Free Software Foundation Europe e.V.
The main author of Bacula is Kern Sibbald, with contributions from
many others, a complete list can be found in the file AUTHORS.
This program is Free Software; you can redistribute it and/or
- modify it under the terms of version two of the GNU General Public
+ modify it under the terms of version three of the GNU Affero General Public
License as published by the Free Software Foundation, which is
listed in the file LICENSE.
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
- You should have received a copy of the GNU General Public License
+ You should have received a copy of the GNU Affero General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301, USA.
bwVarJobReport = 1,
bwVarVolumeName = 2,
bwVarPriority = 3,
- bwVarJobLevel = 4,
+ bwVarJobLevel = 4
} bwVariable;
typedef enum {
bEventJobStart = 1,
- bEventJobEnd = 2,
+ bEventJobEnd = 2
} bEventType;
typedef struct s_bEvent {
bRC (*getBaculaValue)(bpContext *ctx, brVariable var, void *value);
bRC (*setBaculaValue)(bpContext *ctx, bwVariable var, void *value);
bRC (*JobMessage)(bpContext *ctx, const char *file, int line,
- int type, time_t mtime, const char *msg);
+ int type, utime_t mtime, const char *msg);
bRC (*DebugMessage)(bpContext *ctx, const char *file, int line,
int level, const char *msg);
} bFuncs;
/* Bacula Subroutines */
-void load_dir_plugins(const char *plugin_dir);
+void load_sd_plugins(const char *plugin_dir);
void new_plugins(JCR *jcr);
void free_plugins(JCR *jcr);
void generate_plugin_event(JCR *jcr, bEventType event, void *value=NULL);