/**********************************************************************
 
	Copyright (C) 2003-2004
	Hirohisa MORI <joshua@nichibun.ac.jp>
	Tomoki SEKIYAMA <sekiyama@yahoo.co.jp>
 
	This program is free software; you can redistribute it 
	and/or modify it under the terms of the GLOBALBASE 
	Library General Public License (G-LGPL) as published by 

	http://www.globalbase.org/
 
	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.

**********************************************************************/



#ifndef ___SERIAL_PORT_H___
#define ___SERIAL_PORT_H___

#include	"stream.h"

typedef struct SERIAL_PORT_INFO {
	char *	name;
	void *	info;
	struct SERIAL_PORT_INFO *	next;
} SERIAL_PORT_INFO;


SERIAL_PORT_INFO *	lookup_serial_port();

STREAM * open_serial_port(SERIAL_PORT_INFO *info, int bps);

#endif
