ctf_fileops
const ctf_fileops_t *ctf_fileops; /* version-specific file operations */
#define LCTF_INFO_KIND(fp, info) ((fp)->ctf_fileops->ctfo_get_kind(info))
#define LCTF_INFO_ROOT(fp, info) ((fp)->ctf_fileops->ctfo_get_root(info))
#define LCTF_INFO_VLEN(fp, info) ((fp)->ctf_fileops->ctfo_get_vlen(info))
fp->ctf_fileops = &ctf_fileops[hp.cth_version];
static const ctf_fileops_t ctf_fileops[] = {