PageRenderTime 71ms CodeModel.GetById 32ms RepoModel.GetById 1ms app.codeStats 0ms

/opensource.apple.com/source/smb/smb-217.18/idl_compiler/astp_dmp.h

#
C++ Header | 122 lines | 75 code | 13 blank | 34 comment | 0 complexity | bd05d462fa8f1163b26e1854f133ae74 MD5 | raw file
Possible License(s): MPL-2.0-no-copyleft-exception, GPL-2.0, BSD-3-Clause, GPL-3.0, MPL-2.0, LGPL-2.0, LGPL-2.1, CC-BY-SA-3.0, IPL-1.0, ISC, AGPL-1.0, AGPL-3.0, JSON, Apache-2.0, 0BSD
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  4. <head>
  5. <title>astp_dmp.h</title>
  6. <style type="text/css">
  7. .enscript-comment { font-style: italic; color: rgb(178,34,34); }
  8. .enscript-function-name { font-weight: bold; color: rgb(0,0,255); }
  9. .enscript-variable-name { font-weight: bold; color: rgb(184,134,11); }
  10. .enscript-keyword { font-weight: bold; color: rgb(160,32,240); }
  11. .enscript-reference { font-weight: bold; color: rgb(95,158,160); }
  12. .enscript-string { font-weight: bold; color: rgb(188,143,143); }
  13. .enscript-builtin { font-weight: bold; color: rgb(218,112,214); }
  14. .enscript-type { font-weight: bold; color: rgb(34,139,34); }
  15. .enscript-highlight { text-decoration: underline; color: 0; }
  16. </style>
  17. </head>
  18. <body id="top">
  19. <h1 style="margin:8px;" id="f1">astp_dmp.h&nbsp;&nbsp;&nbsp;<span style="font-weight: normal; font-size: 0.5em;">[<a href="?txt">plain text</a>]</span></h1>
  20. <hr/>
  21. <div></div>
  22. <pre>
  23. <span class="enscript-comment">/*
  24. *
  25. * (c) Copyright 1989 OPEN SOFTWARE FOUNDATION, INC.
  26. * (c) Copyright 1989 HEWLETT-PACKARD COMPANY
  27. * (c) Copyright 1989 DIGITAL EQUIPMENT CORPORATION
  28. * To anyone who acknowledges that this file is provided &quot;AS IS&quot;
  29. * without any express or implied warranty:
  30. * permission to use, copy, modify, and distribute this
  31. * file for any purpose is hereby granted without fee, provided that
  32. * the above copyright notices and this notice appears in all source
  33. * code copies, and that none of the names of Open Software
  34. * Foundation, Inc., Hewlett-Packard Company, or Digital Equipment
  35. * Corporation be used in advertising or publicity pertaining to
  36. * distribution of the software without specific, written prior
  37. * permission. Neither Open Software Foundation, Inc., Hewlett-
  38. * Packard Company, nor Digital Equipment Corporation makes any
  39. * representations about the suitability of this software for any
  40. * purpose.
  41. *
  42. */</span>
  43. <span class="enscript-comment">/*
  44. */</span>
  45. <span class="enscript-comment">/*
  46. **
  47. ** NAME
  48. ** ASTP_DMP.H
  49. **
  50. **
  51. ** FACILITY:
  52. **
  53. ** Remote Procedure Call (RPC)
  54. **
  55. ** ABSTRACT:
  56. **
  57. ** Header file for the AST Builder Dumper module, ASTP_DMP.C
  58. **
  59. ** VERSION: DCE 1.0
  60. **
  61. */</span>
  62. #<span class="enscript-reference">ifndef</span> <span class="enscript-variable-name">ASTP_DMP_H</span>
  63. #<span class="enscript-reference">define</span> <span class="enscript-variable-name">ASTP_DMP_H</span>
  64. #<span class="enscript-reference">ifdef</span> <span class="enscript-variable-name">DUMPERS</span>
  65. #<span class="enscript-reference">include</span> <span class="enscript-string">&lt;nidl.h&gt;</span>
  66. #<span class="enscript-reference">include</span> <span class="enscript-string">&lt;ast.h&gt;</span>
  67. <span class="enscript-comment">/*
  68. * Exported dump routines
  69. */</span>
  70. <span class="enscript-type">void</span> AST_dump_interface
  71. (
  72. AST_interface_n_t *if_n_p
  73. );
  74. <span class="enscript-type">void</span> AST_dump_operation
  75. (
  76. AST_operation_n_t *operation_node_ptr,
  77. <span class="enscript-type">int</span> indentation
  78. );
  79. <span class="enscript-type">void</span> AST_dump_parameter
  80. (
  81. AST_parameter_n_t *parameter_node_ptr,
  82. <span class="enscript-type">int</span> indentation
  83. );
  84. <span class="enscript-type">void</span> AST_dump_nametable_id
  85. (
  86. <span class="enscript-type">char</span> *format_string,
  87. NAMETABLE_id_t id
  88. );
  89. <span class="enscript-type">void</span> AST_dump_parameter
  90. (
  91. AST_parameter_n_t *param_node_ptr,
  92. <span class="enscript-type">int</span> indentation
  93. );
  94. <span class="enscript-type">void</span> <span class="enscript-function-name">AST_dump_type</span>(
  95. AST_type_n_t *type_n_p,
  96. <span class="enscript-type">char</span> *format,
  97. <span class="enscript-type">int</span> indentation
  98. );
  99. <span class="enscript-type">void</span> AST_dump_constant
  100. (
  101. AST_constant_n_t *constant_node_ptr,
  102. <span class="enscript-type">int</span> indentation
  103. );
  104. <span class="enscript-type">void</span> <span class="enscript-function-name">AST_enable_hex_dump</span>();
  105. #<span class="enscript-reference">endif</span> <span class="enscript-comment">/* Dumpers */</span>
  106. #<span class="enscript-reference">endif</span> <span class="enscript-comment">/* ASTP_DMP_H */</span>
  107. </pre>
  108. <hr />
  109. </body></html>