/usr/include/freehdl/kernel-handle.hh is in libfreehdl0-dev 0.0.8-2.2ubuntu2.
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 29 30 31 | #ifndef FREEHDL_KERNEL_HANDLE_H
#define FREEHDL_KERNEL_HANDLE_H
#include <freehdl/kernel-name-stack.hh>
#include <freehdl/kernel-map-list.hh>
// For each architecture a separate handle functions to instantiate
// the architecture is declared.
typedef void* (*handle)(name_stack &, map_list *, void *, int);
// A function that is used to initialize some global structures.
typedef int (*init_handle) (void);
// Returns handle function pointer to the component which matches 'library',
// 'entity', and 'architecture'. An empty string "" is treated as wildcard.
struct handle_info;
// This function is used to collect all handle-functions which are
// present in the current model. It is used to initialize some dummy
// variables. Hence it is executed BEFORE main() start.
handle_info *
add_handle(const char *library, const char *primary, const char *architecture,
const handle func, const init_handle ifunc);
// Search for design unit handle (architecture/configuration/package
// body)
handle_info *
get_handle (const char *library, const char *primary, const char *architecture);
#endif
|