1999-03-04 03:35:05 +03:00
|
|
|
/* $NetBSD: info.h,v 1.9 1999/03/04 00:35:05 hubertf Exp $ */
|
1997-06-05 16:59:18 +04:00
|
|
|
|
|
|
|
/* from FreeBSD Id: info.h,v 1.10 1997/02/22 16:09:40 peter Exp */
|
1997-06-05 12:54:23 +04:00
|
|
|
|
|
|
|
/*
|
|
|
|
* FreeBSD install - a package for the installation and maintainance
|
|
|
|
* of non-core utilities.
|
|
|
|
*
|
|
|
|
* Redistribution and use in source and binary forms, with or without
|
|
|
|
* modification, are permitted provided that the following conditions
|
|
|
|
* are met:
|
|
|
|
* 1. Redistributions of source code must retain the above copyright
|
|
|
|
* notice, this list of conditions and the following disclaimer.
|
|
|
|
* 2. Redistributions in binary form must reproduce the above copyright
|
|
|
|
* notice, this list of conditions and the following disclaimer in the
|
|
|
|
* documentation and/or other materials provided with the distribution.
|
|
|
|
*
|
|
|
|
* Jordan K. Hubbard
|
|
|
|
* 23 August 1993
|
|
|
|
*
|
|
|
|
* Include and define various things wanted by the info command.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _INST_INFO_H_INCLUDE
|
|
|
|
#define _INST_INFO_H_INCLUDE
|
|
|
|
|
|
|
|
#ifndef MAXINDEXSIZE
|
|
|
|
#define MAXINDEXSIZE 60
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef MAXNAMESIZE
|
|
|
|
#define MAXNAMESIZE 20
|
|
|
|
#endif
|
|
|
|
|
1998-10-13 21:08:28 +04:00
|
|
|
#define SHOW_COMMENT 0x0001
|
|
|
|
#define SHOW_DESC 0x0002
|
|
|
|
#define SHOW_PLIST 0x0004
|
|
|
|
#define SHOW_INSTALL 0x0008
|
|
|
|
#define SHOW_DEINSTALL 0x0010
|
|
|
|
#define SHOW_REQUIRE 0x0020
|
|
|
|
#define SHOW_PREFIX 0x0040
|
|
|
|
#define SHOW_INDEX 0x0080
|
|
|
|
#define SHOW_FILES 0x0100
|
|
|
|
#define SHOW_DISPLAY 0x0200
|
|
|
|
#define SHOW_REQBY 0x0400
|
|
|
|
#define SHOW_MTREE 0x0800
|
|
|
|
#define SHOW_BUILD_VERSION 0x1000
|
1998-10-21 13:54:09 +04:00
|
|
|
#define SHOW_BUILD_INFO 0x2000
|
1999-03-04 03:35:05 +03:00
|
|
|
#define SHOW_DEPENDS 0x4000
|
1997-06-05 12:54:23 +04:00
|
|
|
|
|
|
|
extern int Flags;
|
|
|
|
extern Boolean AllInstalled;
|
1999-01-19 20:01:56 +03:00
|
|
|
extern Boolean File2Pkg;
|
1997-06-05 12:54:23 +04:00
|
|
|
extern Boolean Quiet;
|
|
|
|
extern char *InfoPrefix;
|
|
|
|
extern char PlayPen[];
|
1998-10-08 16:57:58 +04:00
|
|
|
extern size_t PlayPenSize;
|
1997-06-05 12:54:23 +04:00
|
|
|
extern char *CheckPkg;
|
1998-12-31 03:04:07 +03:00
|
|
|
extern size_t termwidth;
|
1997-06-05 12:54:23 +04:00
|
|
|
|
|
|
|
extern void show_file(char *, char *);
|
1998-10-09 22:27:31 +04:00
|
|
|
extern void show_plist(char *, package_t *, pl_ent_t);
|
|
|
|
extern void show_files(char *, package_t *);
|
1999-03-04 03:35:05 +03:00
|
|
|
extern void show_depends(char *, package_t *);
|
1997-06-05 12:54:23 +04:00
|
|
|
extern void show_index(char *, char *);
|
|
|
|
|
|
|
|
#endif /* _INST_INFO_H_INCLUDE */
|