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
373
374
375 EXIT STATUS
376 The following exit values are returned:
377
378 0
379 Successful operation.
380
381
382 >0
383 An error occurred.
384
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)
|
1 NDRGEN(1ONBLD) illumos Build Tools 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
373
374
375 EXIT STATUS
376 The following exit values are returned:
377
378 0
379 Successful operation.
380
381
382 >0
383 An error occurred.
384
385
386 ATTRIBUTES
387 See the attributes(5) man page for descriptions of the following
388 attributes:
389
390
391
392
393 +---------------+-----------------+
394 |ATTRIBUTE TYPE | ATTRIBUTE VALUE |
395 +---------------+-----------------+
396 |Availability | SUNWbtool |
397 +---------------+-----------------+
398
399 SEE ALSO
400 cpp(1), rpcgen(1), cc(1B), attributes(5)
401
402 BUGS
403 Some cpp(1) macros used by ndrgen are not understood by /usr/bin/cpp or
404 /usr/sfw/bin/cpp. Simple NDL files generally do not pose a problem. If
405 problems occur, for example, when using unions, use /usr/libexec/cpp or
406 cw.
407
408
409
410 October 22, 2007 NDRGEN(1ONBLD)
|