3
* Copyright 2004-2006 by the Massachusetts Institute of Technology.
7
* Export of this software from the United States of America may require a
8
* specific license from the United States Government. It is the
9
* responsibility of any person or organization contemplating export to
10
* obtain such a license before exporting.
12
* WITHIN THAT CONSTRAINT, permission to use, copy, modify, and distribute
13
* this software and its documentation for any purpose and without fee is
14
* hereby granted, provided that the above copyright notice appear in all
15
* copies and that both that copyright notice and this permission notice
16
* appear in supporting documentation, and that the name of M.I.T. not be
17
* used in advertising or publicity pertaining to distribution of the
18
* software without specific, written prior permission. Furthermore if you
19
* modify this software you must label your software as modified software
20
* and not distribute it in such a fashion that it might be confused with
21
* the original MIT software. M.I.T. makes no representations about the
22
* suitability of this software for any purpose. It is provided "as is"
23
* without express or implied warranty.
25
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
26
* WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
27
* MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
29
* Individual source code files are copyright MIT, Cygnus Support,
30
* OpenVision, Oracle, Sun Soft, FundsXpress, and others.
32
* Project Athena, Athena, Athena MUSE, Discuss, Hesiod, Kerberos, Moira,
33
* and Zephyr are trademarks of the Massachusetts Institute of Technology
34
* (MIT). No commercial use of these trademarks may be made without prior
35
* written permission of MIT.
37
* "Commercial use" means use of a name in a product or other for-profit
38
* manner. It does NOT prevent a commercial firm from referring to the MIT
39
* trademarks in order to convey information (although in doing so,
40
* recognition of their trademark status should be given).
44
#ifndef K5_MIG_TYPES_H
45
#define K5_MIG_TYPES_H
47
#define K5_IPC_MAX_MSG_SIZE 2048 + MAX_TRAILER_SIZE
49
#define K5_MIG_LOOKUP_SUFFIX ".ipcLookup"
50
#define K5_MIG_SERVICE_SUFFIX ".ipcService"
52
#define K5_IPC_MAX_INL_MSG_SIZE 1024
54
typedef const char k5_ipc_inl_request_t[K5_IPC_MAX_INL_MSG_SIZE];
55
typedef const char *k5_ipc_ool_request_t;
56
typedef char k5_ipc_inl_reply_t[K5_IPC_MAX_INL_MSG_SIZE];
57
typedef char *k5_ipc_ool_reply_t;
59
#endif /* K5_MIG_TYPES_H */