]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/jcr.h
Modify setJobStatus so cancel has same priority as fatal errors
[bacula/bacula] / bacula / src / jcr.h
index 9ddbf8bc362877625bb5546fe34e5c31a1aa7713..7a321672ffe06bde332215b1487604de9ead2023 100644 (file)
@@ -182,16 +182,22 @@ public:
    void destroy_mutex(void) {pthread_mutex_destroy(&mutex); };
    bool is_job_canceled() {return job_canceled(this); };
    int32_t get_JobType() { return m_JobType; };
+   int32_t getJobType() { return m_JobType; };
    int32_t get_JobLevel() { return m_JobLevel; };
+   int32_t getJobLevel() { return m_JobLevel; };
    bool no_client_used() {
       return (m_JobType == JT_MIGRATE || m_JobType == JT_COPY ||
               m_JobLevel == L_VIRTUAL_FULL);
    };
-   const char *get_OperationName();    /* in lib/jcr.c */
+   const char *get_OperationName();       /* in lib/jcr.c */
    const char *get_ActionName(bool past); /* in lib/jcr.c */
-   void set_JobLevel(int32_t JobLevel); /* in lib/jcr.c */
-   void set_JobType(int32_t JobType);  /* in lib/jcr.c */
-   bool JobReads();                    /* in lib/jcr.c */
+   void set_JobLevel(int32_t JobLevel);   /* in lib/jcr.c */
+   void setJobLevel(int32_t JobLevel);    /* in lib/jcr.c */
+   void set_JobType(int32_t JobType);     /* in lib/jcr.c */
+   void setJobType(int32_t JobType);      /* in lib/jcr.c */
+   void setJobStatus(int JobStatus);      /* in lib/jcr.c */
+   bool JobReads();                       /* in lib/jcr.c */
+   
 
    /* Global part of JCR common to all daemons */
    dlink link;                        /* JCR chain link */