Skip to content

Commit

Permalink
jcr: moved ConnectionHandshakeMode variables to the general public area
Browse files Browse the repository at this point in the history
- gefore this change these variables were located in the director
  public area of the class
  • Loading branch information
root authored and franku committed Sep 19, 2018
1 parent b15f053 commit bce65c5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/src/include/jcr.h
Original file line number Diff line number Diff line change
Expand Up @@ -453,6 +453,9 @@ class JobControlRecord {
POOLMEM *comment; /**< Comment for this Job */
int64_t max_bandwidth; /**< Bandwidth limit for this Job */
htable *path_list; /**< Directory list (used by findlib) */
enum class ConnectionHandshakeMode { kUndefined, kTlsFirst, kCleartextFirst, kFailed };
ConnectionHandshakeMode connection_handshake_try_;
ConnectionHandshakeMode connection_successful_handshake_;

/*
* Daemon specific part of JobControlRecord
Expand Down Expand Up @@ -531,9 +534,6 @@ class JobControlRecord {
bool RescheduleIncompleteJobs; /**< Set if incomplete can be rescheduled */
bool HasQuota; /**< Client has quota limits */
bool HasSelectedJobs; /**< Migration/Copy Job did actually select some JobIds */
enum class ConnectionHandshakeMode { kUndefined, kTlsFirst, kCleartextFirst, kFailed };
ConnectionHandshakeMode connection_handshake_try_;
ConnectionHandshakeMode connection_successful_handshake_;
#endif /* DIRECTOR_DAEMON */

#ifdef FILE_DAEMON
Expand Down

0 comments on commit bce65c5

Please sign in to comment.