/* Defintions for RIG, the rtmk interface generator. Copyright 1999, 2000, 2001 Johan Rydberg, jrydberg@opencores.org. 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #ifndef __rtmk_rig_h #define __rtmk_rig_h 1 #include #include #include typedef kern_return_t (*__rig_demux_function_t) (struct rtmk_msg_header *, struct rtmk_msg_header *); #define __rig_strlen strlen #define __rig_memcpy memcpy #define __rig_strncpy strncpy #ifndef TRUE # define TRUE 1 #endif #ifndef FALSE # define FALSE 0 #endif #define RIG_RESULT_SUCCESS ((kern_return_t) 0) #define RIG_RESULT_NOTIFY ((kern_return_t) 1) #define RIG_RESULT_FAILURE ((kern_return_t) 2) #endif /* rig.h */