forked from Imagelibrary/binutils-gdb
libctf: library version enforcement
This old Solaris standard allows callers to specify that they are expecting one particular API and/or CTF file format from the library. libctf/ * ctf-impl.h (_libctf_version): New declaration. * ctf-subr.c (_libctf_version): Define it. (ctf_version): New. include/ * ctf-api.h (ctf_version): New.
This commit is contained in:
@@ -269,6 +269,7 @@ extern void *ctf_getspecific (ctf_file_t *);
|
||||
|
||||
extern int ctf_errno (ctf_file_t *);
|
||||
extern const char *ctf_errmsg (int);
|
||||
extern int ctf_version (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 *);
|
||||
|
||||
Reference in New Issue
Block a user