shithub: scc

ref: 186e05bb5830df614015417a929d44db151af1e9
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);