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.

27 lines
655 B

  1. /*
  2. * U T I L . H
  3. *
  4. * Common DAV utilities
  5. *
  6. * Copyright 1986-1997 Microsoft Corporation, All Rights Reserved
  7. */
  8. #ifndef _UTIL_H_
  9. #define _UTIL_H_
  10. #include <autoptr.h>
  11. #include <buffer.h>
  12. #include <davimpl.h>
  13. #include <ex\hdriter.h>
  14. // Function to generate a separator boundary for multipart responses.
  15. //
  16. VOID
  17. GenerateBoundary(LPWSTR rgwchBoundary, UINT cch);
  18. // Alphabet allowed for multipart boundaries
  19. const ULONG gc_ulDefaultBoundarySz = 70;
  20. const ULONG gc_ulAlphabetSz = 74;
  21. const WCHAR gc_wszBoundaryAlphabet[] =
  22. L"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'()+_,-./:=?";
  23. #endif // _UTIL_H_