/usr/include/libecap/common/registry.h is in libecap3-dev 1.0.1-3.2.
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 23 24 25 26 27 28 | /* (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 themselves upon creation
// the second parameter must be the libecap library version (as provided)
// which the host application will check for compatibility
// always returns true (to simplify static initialization-driven registrations)
extern bool RegisterVersionedService(adapter::Service *s, const char *v = LIBECAP_VERSION);
// 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();
// "x.y.z" version string of the libecap library the caller linked with
extern const char *VersionString();
} // namespace libecap
#endif
|