/* begincopyright
  Copyright (c) 1988 Xerox Corporation. All rights reserved.
  Use and copying of this software and preparation of derivative works based
  upon this software are permitted. Any distribution of this software or
  derivative works must comply with all applicable United States export
  control laws. This software is made available AS IS, and Xerox Corporation
  makes no warranty about the software, its performance or its conformity to
  any specification. Any person obtaining a copy of this software is requested
  to send their name and post office or electronic mail address to:
    PCR Coordinator
    Xerox PARC
    3333 Coyote Hill Rd.
    Palo Alto, CA 94304
  endcopyright */

/*
 * CirioNubPrivate.h
 *
 * Demers, November 2, 1989 10:11:59 am PST
 *
 * Private definitions for CirioNub RPC Runtime.
 */

#ifndef ←CIRIO←NUB←PRIVATE←
#define ←CIRIO←NUB←PRIVATE←

#include <xr/XR←ThreadsSlaveIOP.h>
#include <cirio/CirioNubProtocol.h>
#include <cirio/CirioNubInstall.h>

#include <sys/types.h>
#include <netinet/in.h>


typedef struct CirioNubProcEntry {
    struct CirioNubProcEntry *cnpe←next;
    int cnpe←procID;
    CirioNubProc cnpe←proc;
    char *cnpe←clientData;
};

typedef struct CirioNubDataRep {
    int cnd←installed;
    XR←Slave cnd←slave;
    int cnd←listenerPort;
    int cnd←listenerFD;
    int cnd←rpcFD;
    void (*cnd←initProc)(/* unsigned clientData */);
    unsigned cnd←initClientData;
    int cnd←numHdrs;
    int *cnd←callBuf;
    int cnd←callBufBytes;
    struct CirioNubProcEntry *cnd←procEntries[1];
} * CirioNubData;

#endif /* ←CIRIO←NUB←PRIVATE← */