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.

50 lines
1.2 KiB

  1. #ifndef ASN1HDR
  2. #define ASN1HDR
  3. typedef char ossBoolean;
  4. typedef char Nulltype;
  5. typedef struct {
  6. short year; /* YYYY format when used for GeneralizedTime */
  7. /* YY format when used for UTCTime */
  8. short month;
  9. short day;
  10. short hour;
  11. short minute;
  12. short second;
  13. short millisec;
  14. short mindiff; /* UTC +/- minute differential */
  15. ossBoolean utc; /* TRUE means UTC time */
  16. } GeneralizedTime;
  17. typedef GeneralizedTime UTCTime;
  18. typedef struct {
  19. int pduNum;
  20. long length; /* length of encoded */
  21. void *encoded;
  22. void *decoded;
  23. #ifdef OSS_OPENTYPE_HAS_USERFIELD
  24. void *userField;
  25. #endif
  26. } OpenType;
  27. enum MixedReal_kind {OSS_BINARY, OSS_DECIMAL};
  28. typedef struct {
  29. enum MixedReal_kind kind;
  30. union {
  31. double base2;
  32. char *base10;
  33. } u;
  34. } MixedReal;
  35. typedef struct ObjectSetEntry {
  36. struct ObjectSetEntry *next;
  37. void *object;
  38. } ObjectSetEntry;
  39. #endif /* #ifndef ASN1HDR */