perlrpcgen

perlrpcgen is a Perl module that can generate Perl interfaces from ONC RPC interface definitions.
Download

perlrpcgen Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Jake Donham
  • Publisher web site:
  • http://search.cpan.org/~jake/perlrpcgen-0.71a/perlrpcgen.PL

perlrpcgen Tags


perlrpcgen Description

perlrpcgen is a Perl module that can generate Perl interfaces from ONC RPC interface definitions. perlrpcgen is a Perl module that can generate Perl interfaces from ONC RPC interface definitions.SYNOPSISperlrpcgen rpcfile.xperlrpcgen builds a set of Perl extensions and a server shell from an ONC RPC interface definition. For an interface Foo, perlrpcgen creates modules Foo::Client, Foo::Data, and Foo::Constants. Foo::Client contains routines for creating a Foo client and making remote procedure calls via the client. Foo::Data contains routines for creating and manipulating the data structures defined in the Foo interface. Foo::Constants contains functions to retrieve the constants defined in the Foo interface.OPTIONSThe option parsing uses Getopt::Long, so you can abbreviate option names.--makefileGenerates a top-level Makefile which will build all the pieces. Include all the other options you want so they'll be propagated to the Makefile.--allImplies --client, --server, --data, and --constants. This is usually what you want.--clientGenerates Foo::Client module.--serverGenerates Foo/server/foo_svc.--dataGenerates Foo::Data module.--constantsGenerates Foo::Constants module.--module moduleSets the basename of the modules. If not given, the name defaults to the basename of the interface file.--typemap typemapUses the given typemap during stub generation. This option can be specified many times. perlrpcgen generates a typemap for the data structures in the interface, but you also need the main Perl typemap.--forkMunges the server shell code so that it forks for each request. You probably don't want to do this (it's better to prefork several processes when you start the server and let them fight over accept() calls).--perl perlSets the Perl binary against which extensions should be built. Defaults to the Perl you used to install perlrpcgen.--cc ccSets the C compiler to use. Defaults to the compiler used when building Perl.--rpclibs rpclibsSets the RPC libraries to link against. Defaults to '-lnsl -lrpcsvc'. Requirements: · Perl


perlrpcgen Related Software