~ubuntu-branches/ubuntu/trusty/nordugrid-arc/trusty-proposed

« back to all changes in this revision

Viewing changes to src/hed/mcc/tls/PayloadTLSMCC.h

  • Committer: Package Import Robot
  • Author(s): Mattias Ellert
  • Date: 2013-11-29 13:39:10 UTC
  • mfrom: (1.1.10)
  • Revision ID: package-import@ubuntu.com-20131129133910-altaxrfowczzl2ev
Tags: 4.0.0-1
4.0.0 Release (Closes: #715131) (LP: #1049798)

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
  ConfigTLSMCC config_;
30
30
  bool StoreInstance(void);
31
31
  bool ClearInstance(void);
32
 
  void CollectError(int code = SSL_ERROR_NONE);
33
32
  // Generic purpose bit flags
34
33
  unsigned long flags_;
35
34
 public:
51
50
  unsigned long Flags(void) { return flags_; };
52
51
  void Flags(unsigned long flags) { flags=flags_; };
53
52
  void SetFailure(const std::string& err);
 
53
  void SetFailure(int code = SSL_ERROR_NONE);
54
54
  operator bool(void) { return (sslctx_ != NULL); };
55
55
  bool operator!(void) { return (sslctx_ == NULL); };
56
56
};