diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/ChangeLog | 13 | ||||
-rw-r--r-- | include/ctf-api.h | 13 |
2 files changed, 26 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index f069a9d..8b82efe 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,5 +1,18 @@ 2019-05-28 Nick Alcock <nick.alcock@oracle.com> + * ctf-api.h (ctf_file_close): New declaration. + (ctf_getdatasect): Likewise. + (ctf_parent_file): Likewise. + (ctf_parent_name): Likewise. + (ctf_parent_name_set): Likewise. + (ctf_import): Likewise. + (ctf_setmodel): Likewise. + (ctf_getmodel): Likewise. + (ctf_setspecific): Likewise. + (ctf_getspecific): Likewise. + +2019-05-28 Nick Alcock <nick.alcock@oracle.com> + * ctf-api.h (zlib.h): New include. (ctf_sect_t): New. (ctf_sect_names_t): Likewise. diff --git a/include/ctf-api.h b/include/ctf-api.h index eb7f0d6..d9eff0b 100644 --- a/include/ctf-api.h +++ b/include/ctf-api.h @@ -198,10 +198,23 @@ enum #define CTF_ADD_NONROOT 0 /* Type only visible in nested scope. */ #define CTF_ADD_ROOT 1 /* Type visible at top-level scope. */ +extern ctf_sect_t ctf_getdatasect (const ctf_file_t *); extern ctf_file_t *ctf_simple_open (const char *, size_t, const char *, size_t, size_t, const char *, size_t, int *); extern ctf_file_t *ctf_bufopen (const ctf_sect_t *, const ctf_sect_t *, const ctf_sect_t *, int *); +extern void ctf_file_close (ctf_file_t *); + +extern ctf_file_t *ctf_parent_file (ctf_file_t *); +extern const char *ctf_parent_name (ctf_file_t *); +extern void ctf_parent_name_set (ctf_file_t *, const char *); + +extern int ctf_import (ctf_file_t *, ctf_file_t *); +extern int ctf_setmodel (ctf_file_t *, int); +extern int ctf_getmodel (ctf_file_t *); + +extern void ctf_setspecific (ctf_file_t *, void *); +extern void *ctf_getspecific (ctf_file_t *); extern int ctf_errno (ctf_file_t *); extern const char *ctf_errmsg (int); |