dca_interface  6.3.4
malware_hashdata.h
Go to the documentation of this file.
1 /* IBM Source Code */
2 /* (C) Copyright IBM Corp. 2009, 2012 */
3 /* Licensed Materials - Property of IBM */
4 /* US Government Users Restricted Rights - Use duplication or disclosure restricted by GSA Schedule Contract with IBM Corp. */
5 
6 #ifndef MALWARE_HASHDATA_H
7 #define MALWARE_HASHDATA_H
8 
16 namespace dca_malware {
17 
18  class hashdata_p;
19 
28  class Hash {
29  public:
31  Hash();
32  Hash( const Hash& aHash );
33  Hash& operator = ( const Hash& aHash );
34  virtual ~Hash();
36 
44  Hash( const unsigned char *buffer, size_t buffer_len );
45 
47  PRIVATE_PTR hashdata_p *_p;
48  };
49 
50 }
51 
52 #endif
Definition of the Hash class.
Hash(const unsigned char *buffer, size_t buffer_len)
Constructs an Hash class with a given data buffer and its length.
#define PRIVATE_PTR
Type for private pointer implementations, for internal use only.
Definition: base_types.h:83