24 #ifndef __INTERFACE_INTERFACE_INFO_H_ 25 #define __INTERFACE_INTERFACE_INFO_H_ 39 const char *
type()
const;
40 const char *
id()
const;
41 const unsigned char *
hash()
const;
44 unsigned int serial()
const;
51 unsigned char *__hash;
53 unsigned int __num_readers;
54 unsigned int __serial;
61 void append(
const char *
type,
const char *
id,
const unsigned char *
hash,
const char * id() const
Get interface ID.
const char * type() const
Get interface type.
bool operator<(const InterfaceInfo &ii) const
< operator This compares two interface infos with respect to the less than (<) relation considering t...
Fawkes library namespace.
bool has_writer() const
Check if there is a writer.
Interface information list.
unsigned int serial() const
Get interface instance serial.
~InterfaceInfo()
Destructor.
InterfaceInfo(const char *type, const char *id, const unsigned char *hash, unsigned int serial, bool has_writer, unsigned int num_readers)
Constructor.
unsigned int num_readers() const
Get number of readers.
const unsigned char * hash() const
Get interface version hash.