I have a very primitive CLI outliner with a tree-esque "outline" data structure. Now I'm trying to incorporate GTK+ and I find that they have not only a widget for displaying trees but a tree data structure... Oops. Now I'm wondering whether I should #include <gtk/gtk.h> for both versions, CLI and GUI, and chuck my "outline"?

Thanks for the advice.