]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - usr.sbin/pkg_install/version/version.h
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / usr.sbin / pkg_install / version / version.h
1 /* $FreeBSD$ */
2
3 /*
4  * FreeBSD install - a package for the installation and maintenance
5  * of non-core utilities.
6  *
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.
15  *
16  * Jeremy D. Lea.
17  * 11 May 2002
18  *
19  * This is the version module. Based on pkg_version.pl by Bruce A. Mah.
20  *
21  */
22
23 #ifndef _INST_VERSION_H_INCLUDE
24 #define _INST_VERSION_H_INCLUDE
25
26 struct index_entry {
27     SLIST_ENTRY(index_entry) next;
28     char *name;
29     char *origin;
30 };
31 SLIST_HEAD(index_head, index_entry);
32
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;
40
41 extern int      version_match(char *, const char *);
42
43 #endif  /* _INST_VERSION_H_INCLUDE */