nodes.h 812 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. #ifndef _NODES_H_
  2. #define _NODES_H_
  3. /*
  4. * Copyright (c) 2011-2012 Nokia Corporation and/or its subsidiary(-ies).
  5. * All rights reserved.
  6. * This component and the accompanying materials are made available
  7. * under the terms of the License "Eclipse Public License v1.0"
  8. * which accompanies this distribution, and is available
  9. * at the URL "http://www.eclipse.org/legal/epl-v10.html".
  10. *
  11. * Initial Contributors:
  12. * Nokia Corporation - initial contribution.
  13. *
  14. * Contributors:
  15. *
  16. * Description:
  17. *
  18. * node types for use in various data structures or linked-list or tree type
  19. *
  20. */
  21. struct Node1Struct {
  22. char *key;
  23. char *value;
  24. struct Node1Struct *next;
  25. };
  26. typedef struct Node1Struct Node1;
  27. struct Node2Struct {
  28. char *key;
  29. char *value;
  30. struct Node2Struct *prev;
  31. struct Node2Struct *next;
  32. };
  33. #endif