git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@6139
91ce42f0-d328-0410-95d8-
f526ca767f89
* Version $Id$
*/
+#ifndef __LIBPROTOS_H
+#define __LIBPROTOS_H
+
class JCR;
/* attr.c */
void stop_thread_timer(btimer_t *wid);
btimer_t *start_bsock_timer(BSOCK *bs, uint32_t wait);
void stop_bsock_timer(btimer_t *wid);
+
+#endif /* __LIBPROTOS_H */
#include "bacula.h"
#include "jcr.h"
-
#include "runscript.h"
RUNSCRIPT *new_runscript()
#ifndef __RUNSCRIPT_H_
#define __RUNSCRIPT_H_ 1
+#include "protos.h"
+
/* Usage:
*
* #define USE_RUNSCRIPT
/* TODO : drop this with bacula 1.42 */
bool old_proto; /* used by old 1.3X protocol */
job_code_callback_t job_code_callback;
- /* Optional callback function passed to edit_job_code */
+ /* Optional callback function passed to edit_job_code */
bool run(JCR *job, const char *name=""); /* name must contain "Before" or "After" keyword */
bool can_run_at_level(int JobLevel) { return true;}; /* TODO */