29 static char rcs_ident[] =
"$Header: /software/dmsv/sun4/sunos/SWT-BACKUP/spencer/src/urt/tools/tools/RCS/repos.c,v 3.0.1.1 1992/01/23 16:26:39 spencer Exp $";
42 int xlen, ylen, xpos, ypos, posflag=0;
43 int oflag = 0, incflag=0, xinc, yinc;
44 char * infilename = NULL, *out_fname = NULL;
45 FILE *outfile = stdout;
46 rle_hdr in_hdr, out_hdr;
53 "% p%-xpos!dypos!d P%-xinc!dyinc!d o%-outfile!s infile%s",
54 &posflag
, &xpos
, &ypos
, &incflag
, &xinc
, &yinc
,
55 &oflag
, &out_fname
, &infilename
) == 0)
81 out_hdr
.xmax = xpos + xlen;
82 out_hdr
.ymax = ypos + ylen;
102 fprintf(stderr,
"Negative boundaries are not allowed!!!\n");
FILE * rle_open_f(char *prog_name, char *file_name, char *mode)
rle_hdr * rle_hdr_cp(rle_hdr *from_hdr, rle_hdr *to_hdr)
void rle_cp(rle_hdr *in_hdr, rle_hdr *the_hdr)
void rle_names(rle_hdr *the_hdr, const char *pgmname, const char *fname, int img_num)
char * cmd_name(char **argv)
void main(int argc, char **argv)
int rle_get_setup(rle_hdr *the_hdr)
int rle_get_error(int code, const char *pgmname, const char *fname)
int scanargs(int argc, char **argv, const char *format,...)
void rle_addhist(argv, rle_hdr *in_hdr, rle_hdr *out_hdr)
void rle_put_setup(rle_hdr *the_hdr)
rle_hdr * rle_hdr_init(rle_hdr *the_hdr)