/* Copyright 1999 by Herve Regad-Pellagru, E-mail: regad@micronet.fr

    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. */

#include "x10_api.h"
#include <scol.h>

#define P_DEBUG1(fmt,arg) {MMechostr(MSKDEBUG, fmt, arg);}
#define P_DEBUG2(fmt,arg1,arg2) {MMechostr(MSKDEBUG, fmt, arg1, arg2);}

HANDLE x10_open_tty_port(char *);
int x10_close_tty_port(HANDLE);
int x10_complete_events(struct x10_status_t *);
int x10_read(struct x10_status_t *,unsigned char *,int,int,int);
int x10_write(struct x10_status_t *,unsigned char *,int);


