/* $Id: chkinteg.h,v 1.5 2002/06/23 20:28:30 richdawe Exp $ */

/*
 *  chkinteg.h - Header for database synchronisation routines for pakke
 *  Copyright (C) 2000-2002 by Richard Dawe
 *      
 *  This program is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation; either version 2 of the License, or
 *  (at your option) any later version.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program; if not, write to the Free Software
 *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 */

#ifndef __pakke_chkinteg_h__
#define __pakke_chkinteg_h__

/* --- Types --- */

/* Request structure */
typedef struct {
  int    op;
  int    mod;
  int	 verbosity;
  int    interactive; /* Ask the user questions?      */
  char  *root;        /* DJGPP/spec'd root directory  */
  char  *prefix;
  char  *name;
  char **dsm_path;    /* Installed DSM path list      */
  char **mft_path;    /* Installed manifest path list */
} PAKKE_CHECK_INTEGRITY;

/* --- Functions --- */
int perform_check_integrity (const PAKKE_CHECK_INTEGRITY *req);

#endif /* __pakke_chkinteg_h__ */
