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.

88 lines
1.4 KiB

  1. /*++
  2. Copyright (c) 1994 Microsoft Corporation
  3. Module Name:
  4. gfrapir.c
  5. Abstract:
  6. Manifests, macros, types, prototypes for gfrapir.c
  7. Author:
  8. Richard L Firth (rfirth) 14-Oct-1994
  9. Environment:
  10. Win32 DLL
  11. Revision History:
  12. 14-Oct-1994 rfirth
  13. Created
  14. --*/
  15. #if defined(__cplusplus)
  16. extern "C" {
  17. #endif
  18. #define IS_GOPHER_SEARCH_SERVER(type) \
  19. (BOOL)(((type) & (GOPHER_TYPE_CSO | GOPHER_TYPE_INDEX_SERVER)))
  20. //
  21. // prototypes
  22. //
  23. DWORD
  24. wGopherFindFirst(
  25. IN LPCSTR lpszLocator,
  26. IN LPCSTR lpszSearchString OPTIONAL,
  27. OUT LPGOPHER_FIND_DATA lpBuffer OPTIONAL,
  28. OUT LPHINTERNET lpHandle
  29. );
  30. DWORD
  31. wGopherFindNext(
  32. IN HINTERNET hFind,
  33. OUT LPGOPHER_FIND_DATA lpszBuffer
  34. );
  35. DWORD
  36. wGopherFindClose(
  37. IN HINTERNET hFind
  38. );
  39. DWORD
  40. wGopherOpenFile(
  41. IN LPCSTR lpszLocator,
  42. IN LPCSTR lpszView OPTIONAL,
  43. OUT LPHINTERNET lpHandle
  44. );
  45. DWORD
  46. wGopherReadFile(
  47. IN HINTERNET hFile,
  48. OUT LPBYTE lpBuffer,
  49. IN DWORD dwBufferLength,
  50. OUT LPDWORD lpdwBytesReturned
  51. );
  52. DWORD
  53. wGopherCloseHandle(
  54. IN HINTERNET hFile
  55. );
  56. DWORD
  57. wGopherGetAttribute(
  58. IN LPCSTR lpszLocator,
  59. IN LPCSTR lpszAttribute,
  60. OUT LPBYTE lpBuffer,
  61. IN OUT LPDWORD lpdwBufferLength
  62. );
  63. #if defined(__cplusplus)
  64. }
  65. #endif