gem-graph-client/include/tree.h

20 lines
1.1 KiB
C

/******************************************************************************/
/* */
/* E coli by David S. Goodsell (2009) */
/* --- */
/* Knowing that only a dynamic model can explain this phenomenon, */
/* let this beautiful freeze frame be our guide. */
/* */
/******************************************************************************/
#include "display.h"
#include "contain.h"
#include <assert.h>
// Simplified TreeNode structure for demonstration purposes
struct TreeNode_t {gchar *text; struct TreeNode_t *child, *next;};
struct TreeNode_t *create_tree_node (const gchar* text);
void add_child_node (struct TreeNode_t *parent, struct TreeNode_t *child);
GtkScrolledWindow *get_user_rules_tree_old ();
void let_us_create_a_complex_useless_and_expensive_tree (struct TreeNode_t *tree_root);