/* $Id: command.h,v 1.5 2002/06/28 11:27:53 indoh Exp $ */
/* command/command.h */

/************************************************************
 *
 * COPYRIGHT (C) HITACHI,LTD. 2002 ALL RIGHTS RESERVED.
 * WRITTEN BY HITACHI SYSTEMS DEVELOPMENT LABORATORY,
 *            HITACHI CENTRAL RESEARCH LABORATORY.
 *
 * Created by K.Hatasaki <keisukeh@crl.hitachi.co.jp>
 *
 ************************************************************/

#include <stdio.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <errno.h>
#include <linux/lkst.h>
#include <linux/lkst_maskset.h>
#include <linux/lkst_buffer.h>
#include <linux/lkst_evhandler.h>

#define COPYRIGHT "COPYRIGHT (C) HITACHI,LTD. 2002 ALL RIGHTS RESERVED."
// #define DEBUG 1

void version(char*, char*);
void needopt(void);
void badcommand(char*); 

int open_dev(void);

struct command {
	char *name;			/* command name */
	void (*func)(int *, char **);	/* function of the command */
};
