[BACK]Return to hexdump.h CVS log [TXT][DIR] Up to [local] / src / usr.bin / hexdump

Diff for /src/usr.bin/hexdump/hexdump.h between version 1.3 and 1.4

version 1.3, 2001/09/30 07:17:03 version 1.4, 2001/12/30 08:17:32
Line 1 
Line 1 
 /* *    $OpenBSD$*/  /*      $OpenBSD$       */
   /*      $NetBSD: hexdump.h,v 1.7 2001/12/07 15:14:29 bjh21 Exp $        */
   
 /*  /*
  * Copyright (c) 1989 The Regents of the University of California.   * Copyright (c) 1989, 1993
  * All rights reserved.   *      The Regents of the University of California.  All rights reserved.
  *   *
  * Redistribution and use in source and binary forms, with or without   * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions   * modification, are permitted provided that the following conditions
Line 31 
Line 33 
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF   * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.   * SUCH DAMAGE.
  *   *
  *      from: @(#)hexdump.h     5.4 (Berkeley) 6/1/90   *      from: @(#)hexdump.h     8.1 (Berkeley) 6/6/93
  */   */
   
 typedef struct _pr {  typedef struct _pr {
Line 71 
Line 73 
         int bcnt;          int bcnt;
 } FS;  } FS;
   
 extern FS *fshead;                      /* head of format strings list */  
 extern int blocksize;                   /* data block size */  
 enum _vflag { ALL, DUP, FIRST, WAIT };  /* -v values */  enum _vflag { ALL, DUP, FIRST, WAIT };  /* -v values */
 char *emalloc();  
   
 void    bpad __P((PR *));  extern int blocksize;                   /* data block size */
 void    conv_c __P((PR *, u_char *));  extern int deprecated;                  /* od compatibility */
 void    conv_u __P((PR *, u_char *));  extern FU *endfu;                       /* format at end-of-data */
 int     next __P((char **));  extern int exitval;                     /* final exit value */
 void    doskip __P((char *, int));  extern FS *fshead;                      /* head of format strings list */
 void    nomem __P((void));  extern int length;                      /* max bytes to read */
 void    odoffset __P((int, char ***));  extern off_t skip;                      /* bytes to skip */
 void    newsyntax __P((int, char ***));  extern enum _vflag vflag;
 void    oldsyntax __P((int, char ***));  
 int     size __P((FS *));  void     add __P((const char *));
 void    rewrite __P((FS *));  void     addfile __P((char *));
 void    display __P((void));  void     badcnt __P((char *));
 void    badcnt __P((char *));  void     badconv __P((char *));
 void    add __P((char *));  void     badfmt __P((const char *));
 void    addfile __P((char *));  void     badsfmt __P((void));
 void    badcnt __P((char *));  void     bpad __P((PR *));
 void    badconv __P((char *));  void     conv_c __P((PR *, u_char *));
 void    badfmt __P((char *));  void     conv_u __P((PR *, u_char *));
 void    badsfmt __P((void));  void     display __P((void));
 void    escape __P((char *));  void     doskip __P((const char *, int));
 void    usage __P((void));  /*void   err __P((const char *, ...));*/
   void    *emalloc __P((int));
   void     escape __P((char *));
   u_char  *get __P((void));
   void     newsyntax __P((int, char ***));
   int      next __P((char **));
   void     nomem __P((void));
   void     oldsyntax __P((int, char ***));
   void     rewrite __P((FS *));
   int      size __P((FS *));
   void     usage __P((void));

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4