[BACK]Return to info.h CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / pkgtools / pkg_install / files / info

Annotation of pkgsrc/pkgtools/pkg_install/files/info/info.h, Revision 1.13

1.13    ! joerg       1: /* $NetBSD: info.h,v 1.12 2007/07/26 11:30:55 joerg Exp $ */
1.1       schmonz     2:
                      3: /* from FreeBSD Id: info.h,v 1.10 1997/02/22 16:09:40 peter Exp */
                      4:
                      5: /*
                      6:  * FreeBSD install - a package for the installation and maintainance
                      7:  * of non-core utilities.
                      8:  *
                      9:  * Redistribution and use in source and binary forms, with or without
                     10:  * modification, are permitted provided that the following conditions
                     11:  * are met:
                     12:  * 1. Redistributions of source code must retain the above copyright
                     13:  *    notice, this list of conditions and the following disclaimer.
                     14:  * 2. Redistributions in binary form must reproduce the above copyright
                     15:  *    notice, this list of conditions and the following disclaimer in the
                     16:  *    documentation and/or other materials provided with the distribution.
                     17:  *
                     18:  * Jordan K. Hubbard
                     19:  * 23 August 1993
                     20:  *
                     21:  * Include and define various things wanted by the info command.
                     22:  *
                     23:  */
                     24:
                     25: #ifndef _INST_INFO_H_INCLUDE
                     26: #define _INST_INFO_H_INCLUDE
                     27:
                     28: #ifndef MAXINDEXSIZE
                     29: #define MAXINDEXSIZE 60
                     30: #endif
                     31:
                     32: #ifndef MAXNAMESIZE
                     33: #define MAXNAMESIZE  20
                     34: #endif
                     35:
                     36: #define SHOW_COMMENT           0x00001
                     37: #define SHOW_DESC              0x00002
                     38: #define SHOW_PLIST             0x00004
                     39: #define SHOW_INSTALL           0x00008
                     40: #define SHOW_DEINSTALL         0x00010
                     41: #define SHOW_PREFIX            0x00040
                     42: #define SHOW_INDEX             0x00080
                     43: #define SHOW_FILES             0x00100
                     44: #define SHOW_DISPLAY           0x00200
                     45: #define SHOW_REQBY             0x00400
                     46: #define SHOW_MTREE             0x00800
                     47: #define SHOW_BUILD_VERSION     0x01000
                     48: #define SHOW_BUILD_INFO                0x02000
                     49: #define SHOW_DEPENDS           0x04000
                     50: #define SHOW_PKG_SIZE          0x08000
                     51: #define SHOW_ALL_SIZE          0x10000
1.2       jlam       52: #define SHOW_BLD_DEPENDS       0x20000
1.5       jlam       53: #define SHOW_BI_VAR            0x40000
1.10      dillo      54: #define SHOW_SUMMARY           0x80000
1.1       schmonz    55:
1.9       wiz        56: enum which {
                     57:     WHICH_ALL,
                     58:     WHICH_USER,
                     59:     WHICH_LIST
                     60: };
                     61:
1.1       schmonz    62: extern int Flags;
1.11      rillig     63: extern enum which Which;
1.1       schmonz    64: extern Boolean File2Pkg;
                     65: extern Boolean Quiet;
                     66: extern char *InfoPrefix;
1.4       jlam       67: extern char *BuildInfoVariable;
1.1       schmonz    68: extern char PlayPen[];
                     69: extern size_t PlayPenSize;
                     70: extern char *CheckPkg;
                     71: extern size_t termwidth;
                     72: extern lpkg_head_t pkgs;
                     73:
1.9       wiz        74: extern void show_file(char *, char *, char *, Boolean);
1.5       jlam       75: extern void show_var(const char *, const char *);
1.1       schmonz    76: extern void show_plist(char *, package_t *, pl_ent_t);
                     77: extern void show_files(char *, package_t *);
                     78: extern void show_depends(char *, package_t *);
1.2       jlam       79: extern void show_bld_depends(char *, package_t *);
1.8       wiz        80: extern void show_index(char *, char *, char *);
1.10      dillo      81: extern void show_summary(package_t *, const char *);
1.1       schmonz    82:
1.13    ! joerg      83: int     pkg_perform(lpkg_head_t *);
        !            84:
1.1       schmonz    85: #endif                         /* _INST_INFO_H_INCLUDE */

CVSweb <webmaster@jp.NetBSD.org>