Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

87 lines
2.7 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1997 - 1999
  6. //
  7. // File: xasn.c
  8. //
  9. //--------------------------------------------------------------------------
  10. /************************************************************************/
  11. /* Copyright (C) 1998 Open Systems Solutions, Inc. All rights reserved.*/
  12. /************************************************************************/
  13. /* Generated for: Microsoft Corporation */
  14. /* Abstract syntax: xasn */
  15. /* Created: Tue Mar 17 17:07:17 1998 */
  16. /* ASN.1 compiler version: 4.2.6 */
  17. /* Target operating system: Windows NT 3.5 or later/Windows 95 */
  18. /* Target machine type: Intel x86 */
  19. /* C compiler options required: -Zp8 (Microsoft) */
  20. /* ASN.1 compiler options and file names specified:
  21. * -listingfile xasn.lst -noshortennames -1990 -noconstraints
  22. * ..\..\..\tools\ossasn1\ASN1DFLT.ZP8 xasn.asn
  23. */
  24. #pragma warning(disable:4115) // 'ossGlobal' : named type definition in parentheses
  25. #pragma warning(disable:4121) // 'tagPDA' : alignment of a member was sensitive to packing
  26. #include <stddef.h>
  27. #include "etype.h"
  28. #include "xasn.h"
  29. #pragma warning(default:4115)
  30. #pragma warning(default:4121)
  31. void DLL_ENTRY_FDEF _ossinit_xasn(struct ossGlobal *world) {
  32. ossLinkBer(world);
  33. }
  34. static unsigned short _pduarray[] = {
  35. 4, 7, 8, 9
  36. };
  37. static struct etype _etypearray[] = {
  38. {16, 0, 0, NULL, 4, 4, 4, 4, 56, 0, 26, 0},
  39. {-1, 2, 0, NULL, 8, 0, 4, 4, 10, 0, 3, 0},
  40. {-1, 4, 30, NULL, 8, 0, 4, 4, 8, 0, 53, 0},
  41. {16, 0, 0, NULL, 4, 4, 4, 4, 24, 0, 26, 0},
  42. {-1, 6, 0, NULL, 8, 68, 4, 4, 8, 3, 19, 0},
  43. {-1, 8, 0, NULL, 1, 0, 0, 0, 8, 0, 8, 0},
  44. {-1, 10, 0, NULL, 4, 0, 4, 0, 8, 0, 0, 0},
  45. {-1, 12, 14, NULL, 8, 3, 0, 0, 8, 0, 12, 0},
  46. {-1, 26, 28, NULL, 20, 3, 0, 0, 8, 3, 12, 0},
  47. {-1, 40, 42, NULL, 16, 2, 0, 0, 8, 6, 12, 0}
  48. };
  49. static struct efield _efieldarray[] = {
  50. {0, 5, -1, 0, 0},
  51. {1, 5, -1, 0, 0},
  52. {4, 6, -1, 0, 0},
  53. {0, 6, -1, 0, 0},
  54. {4, 2, -1, 0, 0},
  55. {12, 1, -1, 0, 0},
  56. {0, 2, -1, 0, 0},
  57. {8, 2, -1, 0, 0}
  58. };
  59. static Etag _tagarray[] = {
  60. 1, 0x0006, 1, 0x0003, 1, 0x001e, 1, 0x0010, 1, 0x0001,
  61. 1, 0x0002, 1, 0x0010, 17, 20, 23, 1, 0x0001, 1,
  62. 1, 0x0001, 2, 1, 0x0002, 3, 1, 0x0010, 31, 34,
  63. 37, 1, 0x0002, 1, 1, 0x001e, 2, 1, 0x0003, 3,
  64. 1, 0x0010, 44, 47, 1, 0x001e, 1, 1, 0x001e, 2
  65. };
  66. static struct eheader _head = {_ossinit_xasn, -1, 15, 772, 4, 10,
  67. _pduarray, _etypearray, _efieldarray, NULL, _tagarray,
  68. NULL, NULL, NULL, 0};
  69. #ifdef _OSSGETHEADER
  70. void *DLL_ENTRY_FDEF ossGetHeader()
  71. {
  72. return &_head;
  73. }
  74. #endif /* _OSSGETHEADER */
  75. void *xasn = &_head;