*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->NetBSD man pages -> svcerr_decode (3)              
Title
Content
Arch
Section
 

RPC_SVC_ERR(3)

Contents


NAME    [Toc]    [Back]

     rpc_svc_err, svcerr_auth, svcerr_decode, svcerr_noproc, svcerr_noprog,
     svcerr_progvers, svcerr_systemerr, svcerr_weakauth - library routines for
     server side remote procedure call errors

LIBRARY    [Toc]    [Back]

     Standard C Library (libc, -lc)

SYNOPSIS    [Toc]    [Back]

     #include <rpc/rpc.h>

     void
     svcerr_auth(const SVCXPRT1 *xprt, const enum auth_stat why);

     void
     svcerr_decode(const SVCXPRT *xprt);

     void
     svcerr_noproc(const SVCXPRT *xprt);

     void
     svcerr_noprog(const SVCXPRT *xprt);

     void
     svcerr_progvers(const SVCXPRT *xprt, rpcvers_t low_vers,
             rpcvers_t high_vers);

     void
     svcerr_systemerr(const SVCXPRT *xprt);

     void
     svcerr_weakauth(const SVCXPRT *xprt);

DESCRIPTION    [Toc]    [Back]

     These routines are part of the RPC library which allows C language programs
 to make procedure calls on other machines across the network.

     These routines can be called by the server side dispatch function if
     there is any error in the transaction with the client.

ROUTINES    [Toc]    [Back]

     See rpc(3) for the definition of the SVCXPRT data structure.

     svcerr_auth()
            Called by a service dispatch routine that refuses to perform a
            remote procedure call due to an authentication error.

            svcerr_decode() Called by a service dispatch routine that cannot
            successfully decode the remote parameters (see svc_getargs() in
            rpc_svc_reg(3)).

     svcerr_noproc()
            Called by a service dispatch routine that does not implement the
            procedure number that the caller requests.

     svcerr_noprog()
            Called when the desired program is not registered with the RPC
            package.  Service implementors usually do not need this routine.

     svcerr_progvers()
            Called when the desired version of a program is not registered
            with the RPC package.  low_vers is the lowest version number, and
            high_vers is the highest version number.  Service implementors
            usually do not need this routine.

     svcerr_systemerr()
            Called by a service dispatch routine when it detects a system
            error not covered by any particular protocol.  For example, if a
            service can no longer allocate storage, it may call this routine.

     svcerr_weakauth()
            Called by a service dispatch routine that refuses to perform a
            remote procedure call due to insufficient (but correct) authentication
 parameters.  The routine calls svcerr_auth(xprt,
            AUTH_TOOWEAK).

SEE ALSO    [Toc]    [Back]

      
      
     rpc(3), rpc_svc_calls(3), rpc_svc_create(3), rpc_svc_reg(3)

BSD                               May 3, 1993                              BSD
[ Back ]
 Similar pages
Name OS Title
authsys_create FreeBSD library routines for client side remote procedure call authentication
authnone_create FreeBSD library routines for client side remote procedure call authentication
authsys_create_default FreeBSD library routines for client side remote procedure call authentication
rpc_clnt_au IRIX library routines for client side remote procedure call authentication
auth_destroy FreeBSD library routines for client side remote procedure call authentication
auth_destroy NetBSD library routines for client side remote procedure call authentication
rpc_clnt_auth NetBSD library routines for client side remote procedure call authentication
authnone_create NetBSD library routines for client side remote procedure call authentication
authsys_create NetBSD library routines for client side remote procedure call authentication
authsys_create_default NetBSD library routines for client side remote procedure call authentication
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service