ONC+ Developer's Guide

RPCL Type Definitions

XDR typedefs have the same syntax as C typedefs.

typedef-definition:
      typedef declaration 

This example defines an fname_type used for declaring file-name strings that have a maximum length of 255 characters.

typedef string fname_type<255>; --> typedef char *fname_type;