OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [newlib-1.18.0/] [newlib-1.18.0-or32-1.0rc2/] [newlib/] [libc/] [sys/] [linux/] [include/] [rpc/] [clnt_stat.h] - Diff between revs 207 and 520

Only display areas with differences | Details | Blame | View Log

Rev 207 Rev 520
/*      $FreeBSD: src/include/rpc/clnt_stat.h,v 1.2 2001/03/20 08:20:50 alfred Exp $ */
/*      $FreeBSD: src/include/rpc/clnt_stat.h,v 1.2 2001/03/20 08:20:50 alfred Exp $ */
/*
/*
 * Copyright (c) 1986 - 1991, 1994, 1996, 1997 by Sun Microsystems, Inc.
 * Copyright (c) 1986 - 1991, 1994, 1996, 1997 by Sun Microsystems, Inc.
 * All rights reserved.
 * All rights reserved.
 */
 */
 
 
/*
/*
 * clnt_stat.h - Client side remote procedure call enum
 * clnt_stat.h - Client side remote procedure call enum
 *
 *
 */
 */
 
 
#ifndef _RPC_CLNT_STAT_H
#ifndef _RPC_CLNT_STAT_H
#define _RPC_CLNT_STAT_H
#define _RPC_CLNT_STAT_H
 
 
/* #pragma ident        "@(#)clnt_stat.h        1.2     97/04/28 SMI" */
/* #pragma ident        "@(#)clnt_stat.h        1.2     97/04/28 SMI" */
 
 
#ifdef __cplusplus
#ifdef __cplusplus
extern "C" {
extern "C" {
#endif
#endif
 
 
enum clnt_stat {
enum clnt_stat {
        RPC_SUCCESS = 0,                 /* call succeeded */
        RPC_SUCCESS = 0,                 /* call succeeded */
        /*
        /*
         * local errors
         * local errors
         */
         */
        RPC_CANTENCODEARGS = 1,         /* can't encode arguments */
        RPC_CANTENCODEARGS = 1,         /* can't encode arguments */
        RPC_CANTDECODERES = 2,          /* can't decode results */
        RPC_CANTDECODERES = 2,          /* can't decode results */
        RPC_CANTSEND = 3,                       /* failure in sending call */
        RPC_CANTSEND = 3,                       /* failure in sending call */
        RPC_CANTRECV = 4,
        RPC_CANTRECV = 4,
        /* failure in receiving result */
        /* failure in receiving result */
        RPC_TIMEDOUT = 5,                       /* call timed out */
        RPC_TIMEDOUT = 5,                       /* call timed out */
        RPC_INTR = 18,                  /* call interrupted */
        RPC_INTR = 18,                  /* call interrupted */
        RPC_UDERROR = 23,                       /* recv got uderr indication */
        RPC_UDERROR = 23,                       /* recv got uderr indication */
        /*
        /*
         * remote errors
         * remote errors
         */
         */
        RPC_VERSMISMATCH = 6,           /* rpc versions not compatible */
        RPC_VERSMISMATCH = 6,           /* rpc versions not compatible */
        RPC_AUTHERROR = 7,              /* authentication error */
        RPC_AUTHERROR = 7,              /* authentication error */
        RPC_PROGUNAVAIL = 8,            /* program not available */
        RPC_PROGUNAVAIL = 8,            /* program not available */
        RPC_PROGVERSMISMATCH = 9,       /* program version mismatched */
        RPC_PROGVERSMISMATCH = 9,       /* program version mismatched */
        RPC_PROCUNAVAIL = 10,           /* procedure unavailable */
        RPC_PROCUNAVAIL = 10,           /* procedure unavailable */
        RPC_CANTDECODEARGS = 11,                /* decode arguments error */
        RPC_CANTDECODEARGS = 11,                /* decode arguments error */
        RPC_SYSTEMERROR = 12,           /* generic "other problem" */
        RPC_SYSTEMERROR = 12,           /* generic "other problem" */
 
 
        /*
        /*
         * rpc_call & clnt_create errors
         * rpc_call & clnt_create errors
         */
         */
        RPC_UNKNOWNHOST = 13,           /* unknown host name */
        RPC_UNKNOWNHOST = 13,           /* unknown host name */
        RPC_UNKNOWNPROTO = 17,          /* unknown protocol */
        RPC_UNKNOWNPROTO = 17,          /* unknown protocol */
        RPC_UNKNOWNADDR = 19,           /* Remote address unknown */
        RPC_UNKNOWNADDR = 19,           /* Remote address unknown */
        RPC_NOBROADCAST = 21,           /* Broadcasting not supported */
        RPC_NOBROADCAST = 21,           /* Broadcasting not supported */
 
 
        /*
        /*
         * rpcbind errors
         * rpcbind errors
         */
         */
        RPC_RPCBFAILURE = 14,           /* the pmapper failed in its call */
        RPC_RPCBFAILURE = 14,           /* the pmapper failed in its call */
#define RPC_PMAPFAILURE RPC_RPCBFAILURE
#define RPC_PMAPFAILURE RPC_RPCBFAILURE
        RPC_PROGNOTREGISTERED = 15,     /* remote program is not registered */
        RPC_PROGNOTREGISTERED = 15,     /* remote program is not registered */
        RPC_N2AXLATEFAILURE = 22,
        RPC_N2AXLATEFAILURE = 22,
        /* Name to address translation failed */
        /* Name to address translation failed */
        /*
        /*
         * Misc error in the TLI library
         * Misc error in the TLI library
         */
         */
        RPC_TLIERROR = 20,
        RPC_TLIERROR = 20,
        /*
        /*
         * unspecified error
         * unspecified error
         */
         */
        RPC_FAILED = 16,
        RPC_FAILED = 16,
        /*
        /*
         * asynchronous errors
         * asynchronous errors
         */
         */
        RPC_INPROGRESS = 24,
        RPC_INPROGRESS = 24,
        RPC_STALERACHANDLE = 25,
        RPC_STALERACHANDLE = 25,
        RPC_CANTCONNECT = 26,           /* couldn't make connection (cots) */
        RPC_CANTCONNECT = 26,           /* couldn't make connection (cots) */
        RPC_XPRTFAILED = 27,            /* received discon from remote (cots) */
        RPC_XPRTFAILED = 27,            /* received discon from remote (cots) */
        RPC_CANTCREATESTREAM = 28       /* can't push rpc module (cots) */
        RPC_CANTCREATESTREAM = 28       /* can't push rpc module (cots) */
};
};
 
 
#ifdef __cplusplus
#ifdef __cplusplus
}
}
#endif
#endif
 
 
#endif  /* !_RPC_CLNT_STAT_H */
#endif  /* !_RPC_CLNT_STAT_H */
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.