/dcerpc/ncklib/comtwrflr.h

https://github.com/BeyondTrust/pbis-open · C Header · 140 lines · 72 code · 19 blank · 49 comment · 0 complexity · f2c82f77d2c21b27b92422fad0ff261b MD5 · raw file

  1. /*
  2. *
  3. * (c) Copyright 1991 OPEN SOFTWARE FOUNDATION, INC.
  4. * (c) Copyright 1991 HEWLETT-PACKARD COMPANY
  5. * (c) Copyright 1991 DIGITAL EQUIPMENT CORPORATION
  6. * To anyone who acknowledges that this file is provided "AS IS"
  7. * without any express or implied warranty:
  8. * permission to use, copy, modify, and distribute this
  9. * file for any purpose is hereby granted without fee, provided that
  10. * the above copyright notices and this notice appears in all source
  11. * code copies, and that none of the names of Open Software
  12. * Foundation, Inc., Hewlett-Packard Company, or Digital Equipment
  13. * Corporation be used in advertising or publicity pertaining to
  14. * distribution of the software without specific, written prior
  15. * permission. Neither Open Software Foundation, Inc., Hewlett-
  16. * Packard Company, nor Digital Equipment Corporation makes any
  17. * representations about the suitability of this software for any
  18. * purpose.
  19. *
  20. */
  21. /*
  22. */
  23. #ifndef _COMTWRFLR_H
  24. #define _COMTWRFLR_H 1
  25. /*
  26. **
  27. ** NAME
  28. **
  29. ** comtwrflr.h
  30. **
  31. ** FACILITY:
  32. **
  33. ** Remote Procedure Call (RPC)
  34. **
  35. ** ABSTRACT:
  36. **
  37. ** Contains private definitions and prototypes of the
  38. ** comtwrflr.c module.
  39. **
  40. **
  41. */
  42. /*
  43. * Constants
  44. */
  45. /*
  46. * The architecturally defined tower floor protocol identifier
  47. * prefix to signify the succeeding data as an RPC uuid.
  48. */
  49. #define RPC_C_PROT_ID_PREFIX (0x0D)
  50. /*
  51. * Prototypes
  52. */
  53. #include <dce/dce.h>
  54. #ifdef __cplusplus
  55. extern "C" {
  56. #endif
  57. PRIVATE void rpc__tower_flr_free (
  58. rpc_tower_floor_p_t * /*floor*/,
  59. unsigned32 * /*status*/
  60. );
  61. PRIVATE void rpc__tower_flr_from_drep (
  62. rpc_syntax_id_p_t /*transfer_syntax*/,
  63. rpc_tower_floor_p_t * /*floor*/,
  64. unsigned32 * /*status*/
  65. );
  66. PRIVATE void rpc__tower_flr_from_if_id (
  67. rpc_if_id_p_t /*if_id*/,
  68. rpc_tower_floor_p_t * /*floor*/,
  69. unsigned32 * /*status*/
  70. );
  71. PRIVATE void rpc__tower_flr_from_rpc_prot_id (
  72. rpc_protseq_id_t /*rpc_protseq_id*/,
  73. rpc_protocol_version_p_t /*protocol_version*/,
  74. rpc_tower_floor_p_t * /*floor*/,
  75. unsigned32 * /*status*/
  76. );
  77. PRIVATE void rpc__tower_flr_from_uuid (
  78. dce_uuid_p_t /*uuid*/,
  79. unsigned32 /*version_major*/,
  80. unsigned32 /*version_minor*/,
  81. rpc_tower_floor_p_t * /*floor*/,
  82. unsigned32 * /*status*/
  83. );
  84. PRIVATE void rpc__tower_flr_id_from_uuid (
  85. dce_uuid_p_t /*uuid*/,
  86. unsigned32 /*version_major*/,
  87. unsigned32 * /*prot_id_len*/,
  88. unsigned8 ** /*prot_id*/,
  89. unsigned32 * /*status*/
  90. );
  91. PRIVATE void rpc__tower_flr_id_to_uuid (
  92. unsigned8 * /*prot_id*/,
  93. dce_uuid_t * /*uuid*/,
  94. unsigned32 * /*version_major*/,
  95. unsigned32 * /*status*/
  96. );
  97. PRIVATE void rpc__tower_flr_to_drep (
  98. rpc_tower_floor_p_t /*floor*/,
  99. rpc_syntax_id_t * /*transfer_syntax*/,
  100. unsigned32 * /*status*/
  101. );
  102. PRIVATE void rpc__tower_flr_to_if_id (
  103. rpc_tower_floor_p_t /*floor*/,
  104. rpc_if_id_t * /*if_id*/,
  105. unsigned32 * /*status*/
  106. );
  107. PRIVATE void rpc__tower_flr_to_rpc_prot_id (
  108. rpc_tower_floor_p_t /*floor*/,
  109. rpc_protocol_id_t * /*rpc_protocol_id*/,
  110. unsigned32 * /*version_major*/,
  111. unsigned32 * /*version_minor*/,
  112. unsigned32 * /*status*/
  113. );
  114. PRIVATE void rpc__tower_flr_to_uuid (
  115. rpc_tower_floor_p_t /*floor*/,
  116. dce_uuid_t * /*uuid*/,
  117. unsigned32 * /*version_major*/,
  118. unsigned32 * /*version_minor*/,
  119. unsigned32 * /*status*/
  120. );
  121. #endif /* _COMTWRFLR_H */