1/* 2 * Copyright (c) 1989, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 17 unchanged lines hidden (view full) --- 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * 33 * @(#)hexdump.h 8.1 (Berkeley) 6/6/93 |
34 * $FreeBSD: head/usr.bin/hexdump/hexdump.h 80290 2001-07-24 14:11:09Z obrien $ |
35 */ 36 37typedef struct _pr { 38 struct _pr *nextpr; /* next print unit */ 39#define F_ADDRESS 0x001 /* print offset */ 40#define F_BPAD 0x002 /* blank pad */ 41#define F_C 0x004 /* %_c */ 42#define F_CHAR 0x008 /* %c */ --- 38 unchanged lines hidden (view full) --- 81void badconv __P((char *)); 82void badfmt __P((char *)); 83void badsfmt __P((void)); 84void bpad __P((PR *)); 85void conv_c __P((PR *, u_char *)); 86void conv_u __P((PR *, u_char *)); 87void display __P((void)); 88void doskip __P((char *, int)); |
89void escape __P((char *)); 90u_char *get __P((void)); 91void newsyntax __P((int, char ***)); 92int next __P((char **)); 93void nomem __P((void)); 94void oldsyntax __P((int, char ***)); 95void rewrite __P((FS *)); 96int size __P((FS *)); 97void usage __P((void)); |