Add a string parameter to server ==> client notification, add a new InfoShutdown...
[jack2.git] / macosx / RPC / JackRPCClient.defs
blob4457cc20f775024f937dce9a7acd4339aeee0579
1 /*
2         Copyright (C) 2004 Grame
3     
4     This program is free software; you can redistribute it and/or modify
5     it under the terms of the GNU Lesser General Public License as published by
6     the Free Software Foundation; either version 2.1 of the License, or
7     (at your option) any later version.
8     
9     This program is distributed in the hope that it will be useful,
10     but WITHOUT ANY WARRANTY; without even the implied warranty of
11     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12     GNU Lesser General Public License for more details.
13     
14     You should have received a copy of the GNU Lesser General Public License
15     along with this program; if not, write to the Free Software 
16     Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
20 subsystem  JackRPCClient 1000;
22 #include <mach/std_types.defs>
23 #include <mach/mach_types.defs>
24 import "Jackdefs.h";
25 waittime 5000;
27 type client_name_t = c_string[128];
28 type client_port_name_t = c_string[128];
29 type message_t = c_string[512];
31 routine rpc_jack_client_sync_notify(
32         client_port     : mach_port_t;
33         refnum          : int;
34         client_name     : client_name_t;
35         notify          : int;
36         message         : message_t;
37         value1          : int;
38         value2          : int;
39     out result : int);
41 simpleroutine rpc_jack_client_async_notify(
42         client_port     : mach_port_t;
43         refnum          : int;
44         client_name     : client_name_t;
45         notify          : int;
46         message         : message_t;
47         value1          : int;
48         value2          : int);