/usr/include/libecap/common/registry.h is in libecap2-dev 0.2.0-1ubuntu4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | /* (C) 2008 The Measurement Factory */
#ifndef LIBECAP__COMMON_REGISTRY_H
#define LIBECAP__COMMON_REGISTRY_H
#include <libecap/common/forward.h>
#include <libecap/common/memory.h>
namespace libecap {
// services call this to register upon creation
extern void RegisterService(adapter::Service *s);
// the host calls this to receive registered services (past and future)
extern void RegisterHost(const shared_ptr<host::Host> &host);
// returns registered host or throws if no host was registered
extern host::Host &MyHost();
} // namespace libecap
#endif
|