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.

41 lines
648 B

  1. /*++
  2. *
  3. * Component: hidserv.dll
  4. * File: list.h
  5. * Purpose: Generic singly linked list.
  6. *
  7. * Copyright (C) Microsoft Corporation 1997,1998. All rights reserved.
  8. *
  9. * WGJ
  10. --*/
  11. #ifndef _LIST_H_
  12. #define _LIST_H_
  13. typedef struct _ListEntry{
  14. struct _ListEntry * pNext;
  15. } LIST_NODE, *PLIST_NODE;
  16. void
  17. InsertTailList(
  18. PLIST_NODE head,
  19. PLIST_NODE entry);
  20. BOOL
  21. RemoveEntryList(
  22. PLIST_NODE head,
  23. PLIST_NODE entry);
  24. void
  25. InsertHeadList(
  26. PLIST_NODE head,
  27. PLIST_NODE entry);
  28. BOOL
  29. IsNodeOnList(
  30. PLIST_NODE head,
  31. PLIST_NODE entry);
  32. #endif // _LIST_H_