1/* $FreeBSD: releng/10.2/usr.sbin/pkg_install/version/version.h 228990 2011-12-30 10:58:14Z uqs $ */ 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 26struct index_entry { 27 SLIST_ENTRY(index_entry) next; 28 char *name; 29 char *origin; 30}; 31SLIST_HEAD(index_head, index_entry); 32 33extern char *LimitChars; 34extern char *PreventChars; 35extern char *MatchName; 36extern char *LookUpOrigin; 37extern Boolean RegexExtended; 38extern Boolean UseINDEXOnly; 39extern Boolean ShowOrigin; 40 41extern int version_match(char *, const char *); 42 43#endif /* _INST_VERSION_H_INCLUDE */ 44