diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/ChangeLog | 8 | ||||
-rw-r--r-- | include/ctf-api.h | 7 |
2 files changed, 15 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index b935cb4..4be07a5 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,5 +1,13 @@ 2019-05-28 Nick Alcock <nick.alcock@oracle.com> + * ctf-api.h (ctf_func_info): New. + (ctf_func_args): Likewise. + (ctf_lookup_by_symbol): Likewise. + (ctf_lookup_by_symbol): Likewise. + (ctf_lookup_variable): Likewise. + +2019-05-28 Nick Alcock <nick.alcock@oracle.com> + * ctf-api.h (ctf_visit_f): New definition. (ctf_member_f): Likewise. (ctf_enum_f): Likewise. diff --git a/include/ctf-api.h b/include/ctf-api.h index 023c890..045d8af 100644 --- a/include/ctf-api.h +++ b/include/ctf-api.h @@ -270,6 +270,13 @@ extern void *ctf_getspecific (ctf_file_t *); extern int ctf_errno (ctf_file_t *); extern const char *ctf_errmsg (int); +extern int ctf_func_info (ctf_file_t *, unsigned long, ctf_funcinfo_t *); +extern int ctf_func_args (ctf_file_t *, unsigned long, uint32_t, ctf_id_t *); + +extern ctf_id_t ctf_lookup_by_name (ctf_file_t *, const char *); +extern ctf_id_t ctf_lookup_by_symbol (ctf_file_t *, unsigned long); +extern ctf_id_t ctf_lookup_variable (ctf_file_t *, const char *); + extern ctf_id_t ctf_type_resolve (ctf_file_t *, ctf_id_t); extern char *ctf_type_aname (ctf_file_t *, ctf_id_t); extern ssize_t ctf_type_lname (ctf_file_t *, ctf_id_t, char *, size_t); |