198766Smarkm/* $FreeBSD$ */
298766Smarkm
398766Smarkm/*
4228990Suqs * FreeBSD install - a package for the installation and maintenance
598766Smarkm * of non-core utilities.
698766Smarkm *
798766Smarkm * Redistribution and use in source and binary forms, with or without
898766Smarkm * modification, are permitted provided that the following conditions
998766Smarkm * are met:
1098766Smarkm * 1. Redistributions of source code must retain the above copyright
1198766Smarkm *    notice, this list of conditions and the following disclaimer.
1298766Smarkm * 2. Redistributions in binary form must reproduce the above copyright
1398766Smarkm *    notice, this list of conditions and the following disclaimer in the
1498766Smarkm *    documentation and/or other materials provided with the distribution.
1598766Smarkm *
1698766Smarkm * Jeremy D. Lea.
1798766Smarkm * 11 May 2002
1898766Smarkm *
1998766Smarkm * This is the version module. Based on pkg_version.pl by Bruce A. Mah.
2098766Smarkm *
2198766Smarkm */
2298766Smarkm
2398766Smarkm#ifndef _INST_VERSION_H_INCLUDE
2498766Smarkm#define _INST_VERSION_H_INCLUDE
2598766Smarkm
2698766Smarkmstruct index_entry {
2798766Smarkm    SLIST_ENTRY(index_entry) next;
28103119Ssobomax    char *name;
29103119Ssobomax    char *origin;
3098766Smarkm};
3198766SmarkmSLIST_HEAD(index_head, index_entry);
3298766Smarkm
3398766Smarkmextern char	*LimitChars;
3498766Smarkmextern char	*PreventChars;
3598766Smarkmextern char	*MatchName;
36148435Skrionextern char	*LookUpOrigin;
37131275Seikextern Boolean	RegexExtended;
38146559Scpercivaextern Boolean	UseINDEXOnly;
39148435Skrionextern Boolean	ShowOrigin;
4098766Smarkm
41131275Seikextern int	version_match(char *, const char *);
42131275Seik
4398766Smarkm#endif	/* _INST_VERSION_H_INCLUDE */
44