turns printfs back on
[freebsd-src/fkvm-freebsd.git] / usr.sbin / pkg_install / version / version.h
blob412c395777eb83e3c43cef5597081b05edf6b660
1 /* $FreeBSD$ */
3 /*
4 * FreeBSD install - a package for the installation and maintainance
5 * of non-core utilities.
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions
9 * are met:
10 * 1. Redistributions of source code must retain the above copyright
11 * notice, this list of conditions and the following disclaimer.
12 * 2. Redistributions in binary form must reproduce the above copyright
13 * notice, this list of conditions and the following disclaimer in the
14 * documentation and/or other materials provided with the distribution.
16 * Jeremy D. Lea.
17 * 11 May 2002
19 * This is the version module. Based on pkg_version.pl by Bruce A. Mah.
23 #ifndef _INST_VERSION_H_INCLUDE
24 #define _INST_VERSION_H_INCLUDE
26 struct index_entry {
27 SLIST_ENTRY(index_entry) next;
28 char *name;
29 char *origin;
31 SLIST_HEAD(index_head, index_entry);
33 extern char *LimitChars;
34 extern char *PreventChars;
35 extern char *MatchName;
36 extern char *LookUpOrigin;
37 extern Boolean RegexExtended;
38 extern Boolean UseINDEXOnly;
39 extern Boolean ShowOrigin;
41 extern int version_match(char *, const char *);
43 #endif /* _INST_VERSION_H_INCLUDE */