[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]

Technical Reference: Communications, Volume 1


svc_getargs Macro

Purpose

Decodes the arguments of a Remote Procedure Call (RPC) request.

Library

C Library (libc.a)

Syntax

#include <rpc/rpc.h>


svc_getargs ( xprt, inproc, in)
SVCXPRT *xprt;
xdrproc_t inproc;
char *in;

Description

The svc_getargs macro decodes the arguments of an RPC request associated with the RPC service transport handle.

Parameters


xprt Points to the RPC service transport handle.
inproc Specifies the eXternal Data Representation (XDR) routine that decodes the arguments.
in Specifies the address where the arguments are placed.

Return Values

Upon successful completion, this subroutine returns a value of 1. If unsuccessful, it returns a value of 0.

Implementation Specifics

This subroutine is part of Base Operating System (BOS) Runtime.

Related Information

The svc_freeargs macro.

List of RPC Programming References.

eXternal Data Representation (XDR) Overview for Programming and Remote Procedure Call (RPC) Overview for Programming in AIX 5L Version 5.1 Communications Programming Concepts.


[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]