#include <out.h>#include "object.h"Include dependency graph for rd.c:

Go to the source code of this file.
Defines | |
| #define | PARTEMIT 0 |
| #define | PARTRELO 1 |
| #define | PARTNAME 2 |
| #define | PARTCHAR 3 |
| #define | PARTDBUG 3 |
| #define | NPARTS (PARTDBUG + 1) |
| #define | OUTSECT(i) (outseek[PARTEMIT] = offset[i]) |
| #define | BEGINSEEK(p, o) (outseek[(p)] = (o)) |
Functions | |
| long | lseek () |
| rd_fdopen (fd) | |
| rd_close () | |
| rd_fd () | |
| rd_ohead (struct outhead *head) | |
| rd_rew_relos (struct outhead *head) | |
| rd_sect (struct outsect *sect, unsigned int cnt) | |
| rd_outsect (s) | |
| rd_emit (char *emit, long cnt) | |
| rd_relo (struct outrelo *relo, unsigned int cnt) | |
| rd_name (struct outname *name, unsigned int cnt) | |
| rd_string (char *addr, long len) | |
Variables | |
| static long | offset [MAXSECT] |
| static int | outfile |
| static long | outseek [NPARTS] |
| static long | currpos |
| static long | rd_base |
| static int | sectionnr |
| static char * | b |
| long | n |
|
|
Definition at line 40 of file rd.c. Referenced by rd_ohead(), and rd_rew_relos(). |
|
|
|
|
|
Definition at line 38 of file rd.c. Referenced by rd_outsect(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
Definition at line 100 of file rd.c. References outfile. |
|
|
Definition at line 76 of file rd.c. References currpos, i, L, lseek, NPARTS, outfile, outseek, PARTEMIT, rd_base, and sectionnr. Referenced by do_file(). |
|
||||||||||||
|
|
|
|
Definition at line 105 of file rd.c. References BEGINSEEK, c, get4, long(), off, OFF_RELO, PARTCHAR, PARTDBUG, PARTEMIT, PARTNAME, PARTRELO, rd_base, SZ_HEAD, SZ_NAME, SZ_RELO, and uget2. Referenced by do_file(). |
|
|
|
|
||||||||||||
|
|
|
|
|
|
||||||||||||
|
Definition at line 146 of file rd.c. References c, get4, offset, PARTEMIT, rd_base, and SZ_SECT. Referenced by do_file(). |
|
||||||||||||
|
Definition at line 239 of file rd.c. References PARTCHAR. |
|
|
|
|
|
Definition at line 36 of file rd.c. Referenced by rd_fdopen(). |
|
|
|
|
|
|
Definition at line 34 of file rd.c. Referenced by descend(), dodiv(), doundiv(), file_compress(), file_uncompress(), get_cmd(), getdiv(), gunzip(), killdiv(), logging(), main(), outbyte(), rd_close(), rd_fd(), rd_fdopen(), and tar(). |
|
|
Definition at line 35 of file rd.c. Referenced by rd_fdopen(). |
|
|
Definition at line 37 of file rd.c. Referenced by rd_fdopen(), rd_ohead(), rd_rew_relos(), and rd_sect(). |
|
|
Definition at line 43 of file rd.c. Referenced by rd_emit(), rd_fdopen(), and rd_outsect(). |
1.4.6