equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 #include <rpc/rpc.h> |
|
22 #include "testservice.h" |
|
23 |
|
24 |
|
25 bool_t |
|
26 xdr_testservice_TComponentList(xdrs, objp) |
|
27 XDR *xdrs; |
|
28 TComponentList *objp; |
|
29 { |
|
30 if (!xdr_array(xdrs, (char **)&objp->TComponentList_val, (u_int *)&objp->TComponentList_len, ~0, sizeof(int), (void*)xdr_int)) { |
|
31 return (FALSE); |
|
32 } |
|
33 return (TRUE); |
|
34 } |
|
35 |
|
36 |
|
37 |
|
38 |
|
39 bool_t |
|
40 xdr_testservice_TResult(xdrs, objp) |
|
41 XDR *xdrs; |
|
42 TResult *objp; |
|
43 { |
|
44 if (!xdr_int(xdrs, &objp->iStandardResult)) { |
|
45 return (FALSE); |
|
46 } |
|
47 if (!xdr_int(xdrs, &objp->iExtendedCode)) { |
|
48 return (FALSE); |
|
49 } |
|
50 if (!xdr_int(xdrs, &objp->iSystemError)) { |
|
51 return (FALSE); |
|
52 } |
|
53 return (TRUE); |
|
54 } |
|
55 |
|
56 |
|
57 |
|
58 |
|
59 bool_t |
|
60 xdr_testservice_TStartupInfo(xdrs, objp) |
|
61 XDR *xdrs; |
|
62 TStartupInfo *objp; |
|
63 { |
|
64 if (!xdr_int(xdrs, &objp->iEmpty)) { |
|
65 return (FALSE); |
|
66 } |
|
67 return (TRUE); |
|
68 } |
|
69 |
|
70 |