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.

39 lines
874 B

  1. /*** list.h - List management function prototypes
  2. *
  3. * Copyright (c) 1996,1997 Microsoft Corporation
  4. * Author: Michael Tsang (MikeTs)
  5. * Created 08/14/96
  6. *
  7. * MODIFICATION HISTORY
  8. */
  9. #ifndef _LIST_H
  10. #define _LIST_H
  11. /*** Macros
  12. */
  13. #ifndef EXPORT
  14. #define EXPORT __cdecl
  15. #endif
  16. /*** Type and Structure definitions
  17. */
  18. typedef struct _List
  19. {
  20. struct _List *plistPrev;
  21. struct _List *plistNext;
  22. } LIST, *PLIST, **PPLIST;
  23. /*** Exported function prototypes
  24. */
  25. VOID EXPORT ListRemoveEntry(PLIST plist, PPLIST pplistHead);
  26. PLIST EXPORT ListRemoveHead(PPLIST pplistHead);
  27. PLIST EXPORT ListRemoveTail(PPLIST pplistHead);
  28. VOID EXPORT ListRemoveAll(PPLIST pplistHead);
  29. VOID EXPORT ListInsertHead(PLIST plist, PPLIST pplistHead);
  30. VOID EXPORT ListInsertTail(PLIST plist, PPLIST pplistHead);
  31. #endif //ifndef _LIST_H