[ Previous | Next | Contents | Glossary | Home | Search ]
AIX Version 4.3 Communications Technical Reference, 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 Version 4.3 Communications Programming Concepts.


[ Previous | Next | Contents | Glossary | Home | Search ]