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

/*
* U T I L . H
*
* Common DAV utilities
*
* Copyright 1986-1997 Microsoft Corporation, All Rights Reserved
*/
#ifndef _UTIL_H_
#define _UTIL_H_
#include <autoptr.h>
#include <buffer.h>
#include <davimpl.h>
#include <ex\hdriter.h>
// Function to generate a separator boundary for multipart responses.
//
VOID
GenerateBoundary(LPWSTR rgwchBoundary, UINT cch);
// Alphabet allowed for multipart boundaries
const ULONG gc_ulDefaultBoundarySz = 70;
const ULONG gc_ulAlphabetSz = 74;
const WCHAR gc_wszBoundaryAlphabet[] =
L"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'()+_,-./:=?";
#endif // _UTIL_H_