xref: /netbsd-src/crypto/external/bsd/heimdal/dist/lib/ipc/heim_ipc_reply.defs (revision ca1c9b0c534faa5fd4c7d36fd3c199a2a3d7b0e4)
1*ca1c9b0cSelric/*
2*ca1c9b0cSelric * Copyright (c) 2009 Kungliga Tekniska H�gskolan
3*ca1c9b0cSelric * (Royal Institute of Technology, Stockholm, Sweden).
4*ca1c9b0cSelric * All rights reserved.
5*ca1c9b0cSelric *
6*ca1c9b0cSelric * Portions Copyright (c) 2009 Apple Inc. All rights reserved.
7*ca1c9b0cSelric *
8*ca1c9b0cSelric * Redistribution and use in source and binary forms, with or without
9*ca1c9b0cSelric * modification, are permitted provided that the following conditions
10*ca1c9b0cSelric * are met:
11*ca1c9b0cSelric *
12*ca1c9b0cSelric * 1. Redistributions of source code must retain the above copyright
13*ca1c9b0cSelric *    notice, this list of conditions and the following disclaimer.
14*ca1c9b0cSelric *
15*ca1c9b0cSelric * 2. Redistributions in binary form must reproduce the above copyright
16*ca1c9b0cSelric *    notice, this list of conditions and the following disclaimer in the
17*ca1c9b0cSelric *    documentation and/or other materials provided with the distribution.
18*ca1c9b0cSelric *
19*ca1c9b0cSelric * 3. Neither the name of the Institute nor the names of its contributors
20*ca1c9b0cSelric *    may be used to endorse or promote products derived from this software
21*ca1c9b0cSelric *    without specific prior written permission.
22*ca1c9b0cSelric *
23*ca1c9b0cSelric * THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' AND
24*ca1c9b0cSelric * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
25*ca1c9b0cSelric * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
26*ca1c9b0cSelric * ARE DISCLAIMED.  IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE
27*ca1c9b0cSelric * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
28*ca1c9b0cSelric * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
29*ca1c9b0cSelric * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
30*ca1c9b0cSelric * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
31*ca1c9b0cSelric * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
32*ca1c9b0cSelric * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
33*ca1c9b0cSelric * SUCH DAMAGE.
34*ca1c9b0cSelric */
35*ca1c9b0cSelric
36*ca1c9b0cSelric#include <mach/std_types.defs>
37*ca1c9b0cSelric#include <mach/mach_types.defs>
38*ca1c9b0cSelric
39*ca1c9b0cSelrictype heim_ipc_message_inband_t = array [ * : 2048 ] of char;
40*ca1c9b0cSelrictype heim_ipc_message_outband_t = array [] of char;
41*ca1c9b0cSelric
42*ca1c9b0cSelricimport "heim_ipc_types.h";
43*ca1c9b0cSelric
44*ca1c9b0cSelricsubsystem heim_ipc 101;
45*ca1c9b0cSelricuserprefix mheim_ripc_;
46*ca1c9b0cSelric
47*ca1c9b0cSelricsimpleroutine call_reply(
48*ca1c9b0cSelric				reply_port	: mach_port_move_send_once_t;
49*ca1c9b0cSelric				returnvalue	: int;
50*ca1c9b0cSelric				replyin		: heim_ipc_message_inband_t;
51*ca1c9b0cSelric				replyout	: heim_ipc_message_outband_t, dealloc);
52