/*
Bacula® - The Network Backup Solution
- Copyright (C) 2002-2007 Free Software Foundation Europe e.V.
+ Copyright (C) 2002-2008 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.
/*
Bacula® - The Network Backup Solution
- Copyright (C) 2000-2007 Free Software Foundation Europe e.V.
+ Copyright (C) 2000-2008 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.
/*
Bacula® - The Network Backup Solution
- Copyright (C) 2006-2007 Free Software Foundation Europe e.V.
+ Copyright (C) 2006-2008 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.
/* foreach_alist free RUNSCRIPT */
void free_runscripts(alist *runscripts); /* you have to free alist */
-extern bool (*console_command)(JCR *jcr, const char *cmd);
+extern DLL_IMP_EXP bool (*console_command)(JCR *jcr, const char *cmd);
#endif /* __RUNSCRIPT_H_ */
New data variables are exported by adding the macro DLL_IMP_EXP to
the variable declaration in the header file. All exported variables
must be declared in a header file and MUST NOT be declared in a
-source file referencing the variable.
+source file referencing the variable. Example, src/lib/runscript.h:
+
+extern DLL_IMP_EXP bool (*console_command)(JCR *jcr, const char *cmd);
+
+or src/jcr.h
+
+extern int DLL_IMP_EXP num_jobs_run;
+extern DLL_IMP_EXP dlist * last_jobs;
+...
+
Exporting functions is now more or less automated. If you find that
a function name has been added, changed, or an argument modified,
_Z19unregister_watchdogP12s_watchdog_t
watchdog_thread
+console_command DATA
${NM} $i | grep "^[0-9a-f]* T _" | cut -c13- ; \
echo " "; \
done
+
+DATA="\
+ console_command"
+
+for i in ${DATA}; do \
+ echo "$i DATA"; \
+done
+
Technical notes on version 2.3
General:
+12Jan08
+kes Fix Win32 build with new .def files and DLL_IMP_EXP ...
10Jan08
kes Add DataDespooling and DataCommitting status (committing is
the last despooling).