struct rpc_info

Overview

Information about the RPC function More…

#include <rpc_xdr.h>

struct rpc_info {
    // fields

    const char* name;
    rpc_func rpc;
    rpc_arg_func in;
    int in_len;
    rpc_arg_func out;
    int out_len;
};

Detailed Documentation

Information about the RPC function

Fields

const char* name

Name of RPC function, i.g. “bind”

rpc_func rpc

Address of the RPC function

rpc_arg_func in

Address of input argument encoder/decoder

int in_len

Size of the input argument structure

rpc_arg_func out

Address of output argument encoder/decoder

int out_len

Size of the output argument structure