1/* BEGIN LICENSE BLOCK
2 * Version: CMPL 1.1
3 *
4 * The contents of this file are subject to the Cisco-style Mozilla Public
5 * License Version 1.1 (the "License"); you may not use this file except
6 * in compliance with the License.  You may obtain a copy of the License
7 * at www.eclipse-clp.org/license.
8 *
9 * Software distributed under the License is distributed on an "AS IS"
10 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied.  See
11 * the License for the specific language governing rights and limitations
12 * under the License.
13 *
14 * The Original Code is  The ECLiPSe Constraint Logic Programming System.
15 * The Initial Developer of the Original Code is  Cisco Systems, Inc.
16 * Portions created by the Initial Developer are
17 * Copyright (C) 1994-2006 Cisco Systems, Inc.  All Rights Reserved.
18 *
19 * Contributor(s): Kees Schuerman, ECRC
20 *
21 * END LICENSE BLOCK */
22/**********************************************************************
23**      System: Parallel Distributed System
24**        File: amsg.xdr.c
25**      Author: Kees Schuerman
26**      SccsId: "@(#)amsg.xdr.c	1.7 8/31/95"
27** Description: Amsg XDR Primitives
28***********************************************************************/
29
30#include "machine.h"    /* architecture specific constant definitions */
31
32#include <stdio.h>
33#include <rpc/rpc.h>
34
35#include "pds.types.h"
36#include "pds.mdt.h"
37#include "pds.xdr.h"
38#include "bmsg.msg.h"
39#include "bmsg.xdr.h"
40#include "amsg.msg.h"
41#include "amsg.xdr.h"
42
43
44bool_t
45xdr_aport(xdrs,port)
46    XDR * xdrs;
47    aport_t * port;
48{
49    return(xdr_aport_id(xdrs,&port->aport_id) &&
50	   xdr_bport_id(xdrs,&port->bport_id) &&
51	   xdr_bdomain_id(xdrs,&port->bdomain_id));
52}
53
54