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.

48 lines
1.1 KiB

  1. //+----------------------------------------------------------------------------
  2. //
  3. // File: PbkCache.h
  4. //
  5. // Module: Common pbk parser
  6. //
  7. // Synopsis: Caches parsed pbk files to improve performance. Through
  8. // XP, we would re-load and re-parse the phonebook file
  9. // every time a RAS API is called. Really, we need to
  10. // reload the file only when the file on disk changes or when
  11. // a new device is introduced to the system.
  12. //
  13. // Copyright (c) 2000-2001 Microsoft Corporation
  14. //
  15. // Author: 11/03/01 Paul Mayfield
  16. //
  17. //+----------------------------------------------------------------------------
  18. #ifdef _PBK_CACHE_
  19. #pragma once
  20. #ifdef __cplusplus
  21. extern "C"
  22. {
  23. #endif
  24. DWORD
  25. PbkCacheInit();
  26. BOOL
  27. IsPbkCacheInit();
  28. VOID
  29. PbkCacheCleanup();
  30. DWORD
  31. PbkCacheGetEntry(
  32. IN WCHAR* pszPhonebook,
  33. IN WCHAR* pszEntry,
  34. OUT DTLNODE** ppEntryNode);
  35. #ifdef __cplusplus
  36. }
  37. #endif
  38. #endif // end of #ifdef _PBK_CACHE_