Print this page
6205 onbld manuals should be declared as 1onbld
Reviewed by: Dan McDonald <danmcd@omniti.com>
Reviewed by: Josef Sipek <jeffpc@josefsipek.net>
   1 ndrgen(1)                        User Commands                       ndrgen(1)
   2 
   3 
   4 
   5 NAME
   6        ndrgen - NDL RPC protocol compiler
   7 
   8 SYNOPSIS
   9        ndrgen [ -Y cpp-path ] file [ file ] ...
  10 
  11 
  12 DESCRIPTION
  13        The ndrgen utility is a tool that generates C code to implement a
  14        DCERPC/MSRPC Network Data Representation (NDR) protocol. The input to
  15        ndrgen is a language similar to C known as Network Data Language (NDL).
  16 
  17 
  18        The ndrgen utility takes an input protocol definition file and
  19        generates an output C source file that contains the marshalling
  20        routines to implement the RPC protocol. If the input file is named
  21        proto.ndl, ndrgen generates NDR routines in proto_ndr.c. Applications


 385 
 386 ATTRIBUTES
 387        See the attributes(5) man page for descriptions of the following
 388        attributes:
 389 
 390 
 391 
 392 
 393 
 394 SEE ALSO
 395        cpp(1), rpcgen(1), cc(1B), attributes(5)
 396 
 397 BUGS
 398        Some cpp(1) macros used by ndrgen are not understood by /usr/bin/cpp or
 399        /usr/sfw/bin/cpp. Simple NDL files generally do not pose a problem. If
 400        problems occur, for example, when using unions, use /usr/libexec/cpp or
 401        cw.
 402 
 403 
 404 
 405 SunOS 5.11                      22 October 2007                      ndrgen(1)
   1 ndrgen(1ONBLD)                   User Commands                  ndrgen(1ONBLD)
   2 
   3 
   4 
   5 NAME
   6        ndrgen - NDL RPC protocol compiler
   7 
   8 SYNOPSIS
   9        ndrgen [ -Y cpp-path ] file [ file ] ...
  10 
  11 
  12 DESCRIPTION
  13        The ndrgen utility is a tool that generates C code to implement a
  14        DCERPC/MSRPC Network Data Representation (NDR) protocol. The input to
  15        ndrgen is a language similar to C known as Network Data Language (NDL).
  16 
  17 
  18        The ndrgen utility takes an input protocol definition file and
  19        generates an output C source file that contains the marshalling
  20        routines to implement the RPC protocol. If the input file is named
  21        proto.ndl, ndrgen generates NDR routines in proto_ndr.c. Applications


 385 
 386 ATTRIBUTES
 387        See the attributes(5) man page for descriptions of the following
 388        attributes:
 389 
 390 
 391 
 392 
 393 
 394 SEE ALSO
 395        cpp(1), rpcgen(1), cc(1B), attributes(5)
 396 
 397 BUGS
 398        Some cpp(1) macros used by ndrgen are not understood by /usr/bin/cpp or
 399        /usr/sfw/bin/cpp. Simple NDL files generally do not pose a problem. If
 400        problems occur, for example, when using unions, use /usr/libexec/cpp or
 401        cw.
 402 
 403 
 404 
 405 SunOS 5.11                      22 October 2007                 ndrgen(1ONBLD)