27 static char rcsid[] = 
"$Header: /tmp_mnt/n/itn/hendrix/u/spencer/RCS/rle_hdr.c,v 3.0.1.1 1992/04/30 14:08:07 spencer Exp spencer $";
 
   59     if ( the_hdr->is_init == RLE_INIT_MAGIC &&
 
   60      the_hdr->cmd != NULL && the_hdr->file_name != NULL )
 
   62     if ( pgmname != the_hdr->cmd )
 
   64     if ( fname != the_hdr->file_name )
 
   65         free( the_hdr->file_name );
 
   73     if ( fname == NULL || strcmp( fname, 
"-" ) == 0 || *fname == 
'\0' )
 
   74     fname = 
"Standard I/O";
 
   75     if ( pgmname == NULL )
 
   79     if ( the_hdr
->cmd != pgmname )
 
   81     char *tmp = (
char *)malloc( strlen( pgmname ) + 1 );
 
   83     strcpy( tmp, pgmname );
 
   89     char *tmp = (
char *)malloc( strlen( fname ) + 1 );
 
  120 rle_hdr *from_hdr, *to_hdr;
 
  122     static rle_hdr dflt_hdr;
 
  146     if ( to_hdr == NULL )
 
  153     int size = to_hdr
->ncolors * 
sizeof(
int);
 
  180         size *= 
sizeof(
char *);
 
rle_hdr * rle_hdr_cp(rle_hdr *from_hdr, rle_hdr *to_hdr)
 
void rle_names(rle_hdr *the_hdr, const  char *pgmname, const  char *fname, int img_num)
 
void rle_hdr_clear(rle_hdr *the_hdr)
 
rle_hdr * rle_hdr_init(rle_hdr *the_hdr)
 
#define RLE_CHECK_ALLOC(pgm, ptr, name)