info.h revision 11780
111780Sjkh/* $Id: info.h,v 1.7.4.1 1995/10/09 11:16:25 jkh Exp $ */
2327Sjkh
3327Sjkh/*
4327Sjkh * FreeBSD install - a package for the installation and maintainance
5327Sjkh * of non-core utilities.
6327Sjkh *
7327Sjkh * Redistribution and use in source and binary forms, with or without
8327Sjkh * modification, are permitted provided that the following conditions
9327Sjkh * are met:
10327Sjkh * 1. Redistributions of source code must retain the above copyright
11327Sjkh *    notice, this list of conditions and the following disclaimer.
12327Sjkh * 2. Redistributions in binary form must reproduce the above copyright
13327Sjkh *    notice, this list of conditions and the following disclaimer in the
14327Sjkh *    documentation and/or other materials provided with the distribution.
15327Sjkh *
16327Sjkh * Jordan K. Hubbard
17327Sjkh * 23 August 1993
18327Sjkh *
19327Sjkh * Include and define various things wanted by the info command.
20327Sjkh *
21327Sjkh */
22327Sjkh
23327Sjkh#ifndef _INST_INFO_H_INCLUDE
24327Sjkh#define _INST_INFO_H_INCLUDE
25327Sjkh
265399Sswallace#ifndef MAXINDEXSIZE
275399Sswallace#define MAXINDEXSIZE 60
285399Sswallace#endif
295399Sswallace
305399Sswallace#ifndef MAXNAMESIZE
315399Sswallace#define MAXNAMESIZE  20
325399Sswallace#endif
335399Sswallace
344996Sjkh#define	SHOW_COMMENT	0x0001
354996Sjkh#define SHOW_DESC	0x0002
364996Sjkh#define SHOW_PLIST	0x0004
374996Sjkh#define SHOW_INSTALL	0x0008
384996Sjkh#define SHOW_DEINSTALL	0x0010
394996Sjkh#define SHOW_REQUIRE	0x0020
404996Sjkh#define SHOW_PREFIX	0x0040
414996Sjkh#define SHOW_INDEX	0x0080
424996Sjkh#define SHOW_FILES	0x0100
434996Sjkh#define SHOW_DISPLAY	0x0200
444996Sjkh#define SHOW_REQBY	0x0400
454996Sjkh#define SHOW_MTREE	0x0800
46327Sjkh
47327Sjkhextern int Flags;
48327Sjkhextern Boolean AllInstalled;
49411Sjkhextern Boolean Quiet;
50379Sjkhextern char *InfoPrefix;
5111780Sjkhextern char PlayPen[];
52392Sjkhextern char *CheckPkg;
53327Sjkh
54327Sjkhextern void	show_file(char *, char *);
55327Sjkhextern void	show_plist(char *, Package *, plist_t);
56411Sjkhextern void	show_files(char *, Package *);
575399Sswallaceextern void	show_index(char *, char *);
58327Sjkh
59327Sjkh#endif	/* _INST_INFO_H_INCLUDE */
60