Chameleon

Chameleon Svn Source Tree

Root/tags/2.3/i386/include/mach/clock_reply.h

Source at commit 2862 created 7 years 26 days ago.
By ifabio, Tag 2.3 release, bump svn to 2.4
1#ifndef_clock_reply_user_
2#define_clock_reply_user_
3
4/* Module clock_reply */
5
6#include <string.h>
7#include <mach/ndr.h>
8#include <mach/boolean.h>
9#include <mach/kern_return.h>
10#include <mach/notify.h>
11#include <mach/mach_types.h>
12#include <mach/message.h>
13#include <mach/mig_errors.h>
14#include <mach/port.h>
15
16#ifdef AUTOTEST
17#ifndef FUNCTION_PTR_T
18#define FUNCTION_PTR_T
19typedef void (*function_ptr_t)(mach_port_t, char *, mach_msg_type_number_t);
20typedef struct {
21 char *name;
22 function_ptr_t function;
23} function_table_entry;
24typedef function_table_entry *function_table_t;
25#endif /* FUNCTION_PTR_T */
26#endif /* AUTOTEST */
27
28#ifndefclock_reply_MSG_COUNT
29#defineclock_reply_MSG_COUNT1
30#endif/* clock_reply_MSG_COUNT */
31
32#include <mach/std_types.h>
33#include <mach/mig.h>
34#include <mach/mach_types.h>
35
36#ifdef __BeforeMigUserHeader
37__BeforeMigUserHeader
38#endif /* __BeforeMigUserHeader */
39
40#include <sys/cdefs.h>
41__BEGIN_DECLS
42
43
44/* SimpleRoutine clock_alarm_reply */
45#ifdefmig_external
46mig_external
47#else
48extern
49#endif/* mig_external */
50kern_return_t clock_alarm_reply
51(
52clock_reply_t alarm_port,
53mach_msg_type_name_t alarm_portPoly,
54kern_return_t alarm_code,
55alarm_type_t alarm_type,
56mach_timespec_t alarm_time
57);
58
59__END_DECLS
60
61/********************** Caution **************************/
62/* The following data types should be used to calculate */
63/* maximum message sizes only. The actual message may be */
64/* smaller, and the position of the arguments within the */
65/* message layout may vary from what is presented here. */
66/* For example, if any of the arguments are variable- */
67/* sized, and less than the maximum is sent, the data */
68/* will be packed tight in the actual message to reduce */
69/* the presence of holes. */
70/********************** Caution **************************/
71
72/* typedefs for all requests */
73
74#ifndef __Request__clock_reply_subsystem__defined
75#define __Request__clock_reply_subsystem__defined
76
77#ifdef __MigPackStructs
78#pragma pack(4)
79#endif
80typedef struct {
81mach_msg_header_t Head;
82NDR_record_t NDR;
83kern_return_t alarm_code;
84alarm_type_t alarm_type;
85mach_timespec_t alarm_time;
86} __Request__clock_alarm_reply_t;
87#ifdef __MigPackStructs
88#pragma pack()
89#endif
90#endif /* !__Request__clock_reply_subsystem__defined */
91
92/* union of all requests */
93
94#ifndef __RequestUnion__clock_reply_subsystem__defined
95#define __RequestUnion__clock_reply_subsystem__defined
96union __RequestUnion__clock_reply_subsystem {
97__Request__clock_alarm_reply_t Request_clock_alarm_reply;
98};
99#endif /* !__RequestUnion__clock_reply_subsystem__defined */
100/* typedefs for all replies */
101
102#ifndef __Reply__clock_reply_subsystem__defined
103#define __Reply__clock_reply_subsystem__defined
104
105#ifdef __MigPackStructs
106#pragma pack(4)
107#endif
108typedef struct {
109mach_msg_header_t Head;
110NDR_record_t NDR;
111kern_return_t RetCode;
112} __Reply__clock_alarm_reply_t;
113#ifdef __MigPackStructs
114#pragma pack()
115#endif
116#endif /* !__Reply__clock_reply_subsystem__defined */
117
118/* union of all replies */
119
120#ifndef __ReplyUnion__clock_reply_subsystem__defined
121#define __ReplyUnion__clock_reply_subsystem__defined
122union __ReplyUnion__clock_reply_subsystem {
123__Reply__clock_alarm_reply_t Reply_clock_alarm_reply;
124};
125#endif /* !__RequestUnion__clock_reply_subsystem__defined */
126
127#ifndef subsystem_to_name_map_clock_reply
128#define subsystem_to_name_map_clock_reply \
129 { "clock_alarm_reply", 3125107 }
130#endif
131
132#ifdef __AfterMigUserHeader
133__AfterMigUserHeader
134#endif /* __AfterMigUserHeader */
135
136#endif /* _clock_reply_user_ */
137

Archive Download this file

Revision: 2862