struct rpc_func_info

Overview

Description of a RPC routine implementation More…

#include <rpc_server.h>

struct rpc_func_info {
    // fields

    const char* funcname;
    rpc_wrapper_func* wrapper;
    rpc_copy_func* copy;
    rpc_generic_xdr_out xdr_out;
    size_t in_size;
    size_t out_size;
    size_t in_common_offset;
    size_t out_common_offset;
};

Detailed Documentation

Description of a RPC routine implementation

Fields

const char* funcname

Name of the function

rpc_wrapper_func* wrapper

RPC wrapper

rpc_copy_func* copy

Argument copying routing

rpc_generic_xdr_out xdr_out

XDR resource deallocator

size_t in_size

Size of input arguments structure

size_t out_size

Size of output arguments structure

size_t in_common_offset

Offset of tarpc_in_arg within the input structure (usually 0)

size_t out_common_offset

Offset of tarpc_in_arg within the input structure (usually 0)