shithub: scc

ref: 65014a8ce3a1b7d2b18c97bca389d17d83faff57
dir: /nm/nm.h/

View raw version

struct symbol {
	char *name;
	int type;
	unsigned long long value;
	unsigned long size;
};

struct objfile {
	int (*probe)(char *fname, char *member, FILE *fp);
	int (*nm)(char *fname, char *member, FILE *fp);
};

/* main.c */
extern void printsyms(char *, char *, struct symbol *, size_t );