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.

30 lines
613 B

  1. /*
  2. * B U F F E R . H
  3. *
  4. * Data buffer processing
  5. *
  6. * Copyright 1986-1997 Microsoft Corporation, All Rights Reserved
  7. */
  8. #ifndef _BUFFER_H_
  9. #define _BUFFER_H_
  10. #ifdef _DAVCDATA_
  11. #error "buffer.h uses throwing allocators"
  12. #endif
  13. // Include the non-safe/throwing allocators
  14. #include <mem.h>
  15. // Include safe buffer definition header
  16. //
  17. #include <ex\buffer.h>
  18. // AppendChainedSz -----------------------------------------------------------
  19. //
  20. inline LPCWSTR AppendChainedSz (ChainedStringBuffer<WCHAR>& sb, LPCWSTR pwsz)
  21. {
  22. return sb.AppendWithNull (pwsz);
  23. }
  24. #endif // _BUFFER_H_