/*
 	Copyright (C) 2004 Grame
    
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU Lesser General Public License as published by
    the Free Software Foundation; either version 2.1 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 Lesser General Public License for more details.
    
    You should have received a copy of the GNU Lesser 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.

*/

subsystem  JackRPCClient 1000;

#include <mach/std_types.defs>
#include <mach/mach_types.defs>
import "Jackdefs.h";
waittime 5000;

type client_name_t = c_string[128];
type client_port_name_t = c_string[128];

routine rpc_jack_client_sync_notify(
	client_port	: mach_port_t;
	refnum		: int;
	client_name	: client_name_t;
	notify		: int;
	value1		: int;
	value2		: int;
    out result : int);

simpleroutine rpc_jack_client_async_notify(
	client_port	: mach_port_t;
	refnum		: int;
	client_name	: client_name_t;
	notify		: int;
	value1		: int;
	value2		: int);
