/*
** libman.h -- include file for libman tool
**
** Libraries and Devices Manager: External modules prototypes
**
** $Id: libman.h,v 3.0 94/08/09 17:25:37 GF Exp Locker: GF $
**
**************************************************************************
**
** Copyright © 1994 by Gabriele Falcioni. All Rights Reserved.
**
** 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.
**
** For inquiries, comments, donations, bug reports, write to:
**
** Gabriele Falcioni
** via E. Cialdini, 50
** I-60122 Ancona
** ITALY
**
*/

#ifndef EXEC_TYPES_H
#include <exec/types.h>
#endif

/* --- Structures ----------------------------------------------------- */

struct NodeMatcher {

	UBYTE **names;

	UBYTE *bufptr;
	LONG   buflen;

	struct List *list;
	struct Node *next;

};

/* --- Prototypes ----------------------------------------------------- */

/* from file: "libmatch.c" */

struct NodeMatcher *CreateNodeMatcher(UBYTE **names,struct List *list);
VOID DeleteNodeMatcher(struct NodeMatcher *nm);
struct Node *MatchNodes(struct NodeMatcher *nm);

/* from file: "libscan.c" */

struct List *CloneLibDev(UBYTE type);

/* from file: "libshow.c" */

LONG ShowLibDev(UBYTE **names,UBYTE type,BOOL full);

/* from file: "libadd.c" */

LONG MountLibDev(UBYTE **from,BOOL force);

/* from file: "librem.c" */

LONG DismountLibDev(UBYTE **names,UBYTE type);

/* -------------------------------------------------------------------- */
