X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=bacula%2Fsrc%2Fjcr.h;h=2d38956798584304b67e5a975f526a9603f31006;hb=f7baed75284306092c153924637d7316dd1bc1a8;hp=9db901ad6767c3826c1a8e55e517dd6f74029076;hpb=3ea94fb346f433e2af1237aab3a164005602ad48;p=bacula%2Fbacula diff --git a/bacula/src/jcr.h b/bacula/src/jcr.h index 9db901ad67..2d38956798 100644 --- a/bacula/src/jcr.h +++ b/bacula/src/jcr.h @@ -202,10 +202,11 @@ public: const char *get_ActionName(bool past); /* in lib/jcr.c */ void setJobStatus(int JobStatus); /* in lib/jcr.c */ bool JobReads(); /* in lib/jcr.c */ - + void my_thread_send_signal(int sig); /* in lib/jcr.c */ /* Global part of JCR common to all daemons */ dlink link; /* JCR chain link */ + bool my_thread_running; /* is the thread controlling jcr running*/ pthread_t my_thread_id; /* id of thread controlling jcr */ BSOCK *dir_bsock; /* Director bsock or NULL if we are him */ BSOCK *store_bsock; /* Storage connection socket */