00001 /* -*- c -*- */ 00002 /* $Id: stream.idl 31002 2008-01-27 13:11:30Z adam $ */ 00003 00011 /* (c) 2003 Technische Universitaet Dresden 00012 * This file is part of DROPS, which is distributed under the terms of the 00013 * GNU General Public License 2. Please see the COPYING file for details. */ 00014 00016 typedef struct stream_io_timeval 00017 { 00018 unsigned long long timeval; 00019 } stream_io_timeval_t; 00020 00022 typedef struct stream_io_input_event 00023 { 00024 stream_io_timeval_t time; /* not used */ 00025 unsigned short type; 00026 unsigned short code; 00027 unsigned int value; 00028 } stream_io_input_event_t; 00029 00031 library stream 00032 { 00035 interface io 00036 { 00041 [in] void push([in] stream_io_input_event_t event); 00042 }; 00043 }; 00044