bintree.h 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. /*********************** -*- Mode: C -*- ***********************
  2. * Architecture :
  3. * SubSystem :
  4. * Component :
  5. * File : bintree.h
  6. * Documents :
  7. * Components used :
  8. *---------------------------------------------------------------
  9. * Description
  10. * ===========
  11. * This header defines a test node structure
  12. *---------------------------------------------------------------
  13. * Author : Graeme McKerrell
  14. * Created On : Wed Jan 28 13:14:36 2004
  15. * Status : UNTESTED
  16. *---------------------------------------------------------------
  17. * HISTORY
  18. * 7-May-2004 Graeme McKerrell
  19. * updated to use "lub_test_" namespace
  20. *---------------------------------------------------------------
  21. * Copyright (c) 3Com Corporation. All Rights Reserved
  22. **************************************************************** */
  23. #include "lub/bintree.h"
  24. typedef struct
  25. {
  26. lub_bintree_node_t bt_node1;
  27. lub_bintree_node_t bt_node2;
  28. int value;
  29. unsigned char address[6];
  30. short idx; /* used by legacy implementation */
  31. } test_node_t;
  32. #define NUM_TEST_NODES 32768