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.

128 lines
2.3 KiB

  1. //+--------------------------------------------------------------------------
  2. //
  3. // Copyright (c) 1997-1999 Microsoft Corporation
  4. //
  5. // File: clilic.h
  6. //
  7. // Contents:
  8. //
  9. // History:
  10. //
  11. //---------------------------------------------------------------------------
  12. #ifndef __CLIENTLICNESE_H__
  13. #define __CLIENTLICNESE_H__
  14. #include "server.h"
  15. #ifdef __cplusplus
  16. extern "C" {
  17. #endif
  18. void
  19. TLSDBLockLicenseTable();
  20. void
  21. TLSDBUnlockLicenseTable();
  22. DWORD
  23. TLSDBLicenseFind(
  24. IN PTLSDbWorkSpace pDbWkSpace,
  25. IN BOOL bMatchAllParm,
  26. IN DWORD dwSearchParm,
  27. IN LPLICENSEDCLIENT lpSearch,
  28. IN OUT LPLICENSEDCLIENT lpFound
  29. );
  30. DWORD
  31. TLSDBLicenseEnumBegin(
  32. IN PTLSDbWorkSpace pDbWkSpace,
  33. IN BOOL bMatchAll,
  34. IN DWORD dwSearchParm,
  35. IN LPLICENSEDCLIENT lpSearch
  36. );
  37. DWORD
  38. TLSDBLicenseEnumBeginEx(
  39. IN PTLSDbWorkSpace pDbWkSpace,
  40. IN BOOL bMatchAll,
  41. IN DWORD dwSearchParm,
  42. IN LPLICENSEDCLIENT lpSearch,
  43. IN JET_GRBIT jet_seek_grbit
  44. );
  45. DWORD
  46. TLSDBLicenseEnumNext(
  47. IN PTLSDbWorkSpace pDbWkSpace,
  48. IN OUT LPLICENSEDCLIENT lplsLicense
  49. );
  50. DWORD
  51. TLSDBLicenseEnumNextEx(
  52. IN PTLSDbWorkSpace pDbWkSpace,
  53. IN BOOL bReverse,
  54. IN BOOL bAnyRecord,
  55. IN OUT LPLICENSEDCLIENT lplsLicense
  56. );
  57. void
  58. TLSDBLicenseEnumEnd(
  59. IN PTLSDbWorkSpace pDbWkSpace
  60. );
  61. DWORD
  62. TLSDBLicenseAddEntry(
  63. IN PTLSDbWorkSpace pDbWkSpace,
  64. IN LPLICENSEDCLIENT pLicense
  65. );
  66. DWORD
  67. TLSDBLicenseDeleteEntry(
  68. IN PTLSDbWorkSpace pDbWkSpace,
  69. IN LPLICENSEDCLIENT pLicense,
  70. IN BOOL bInternalCall
  71. );
  72. DWORD
  73. TLSDBDeleteEnumeratedLicense(
  74. IN PTLSDbWorkSpace pDbWkSpace
  75. );
  76. DWORD
  77. TLSDBLicenseUpdateEntry(
  78. IN PTLSDbWorkSpace pDbWkSpace,
  79. IN DWORD dwUpdateParm,
  80. IN LPLICENSEDCLIENT pLicense,
  81. IN BOOL bInternalCall
  82. );
  83. DWORD
  84. TLSDBLicenseSetValue(
  85. IN PTLSDbWorkSpace pDbWkSpace,
  86. IN DWORD dwSetParm,
  87. IN LPLICENSEDCLIENT lpLicense,
  88. IN BOOL bPointerOnRecord
  89. );
  90. DWORD
  91. TLSDBLicenseGetCert(
  92. IN PTLSDbWorkSpace pDbWorkSpace,
  93. IN DWORD dwLicenseId,
  94. IN OUT PDWORD cbCert,
  95. IN OUT PBYTE pbCert
  96. );
  97. DWORD
  98. TLSDBLicenseAdd(
  99. IN PTLSDbWorkSpace pDbWorkSpace,
  100. LPLICENSEDCLIENT pLicense,
  101. DWORD cbLicense,
  102. PBYTE pbLicense
  103. );
  104. #ifdef __cplusplus
  105. }
  106. #endif
  107. #endif