shithub: scc

ref: 4b15d284ea6576d5229c43162e4c6dc38a386266
dir: /ld/ld.h/

View raw version

typedef struct obj Obj;

struct obj {
	char *fname;
	void *hdr;
	char *strtbl;
	struct obj *next;
};

#ifdef stdin
struct objfile {
	int (*probe)(char *fname, char *member, FILE *fp);
	void (*pass1)(char *fname, char *member, FILE *fp);
	void (*pass2)(char *fname, char *member, FILE *fp);
};
#endif

/* obj.c */
extern Obj *newobj(char *fname);