00001 00013 #define GITK_LIB_C 00014 #define GITK_GLOBAL_C 00015 00016 #include "gitkincludes.h" 00017 00018 00022 gboolean gitk_initialized=FALSE; 00023 00027 gchar *client_name=NULL; 00028 00032 gchar *client_package_name=NULL; 00033 00037 gchar *client_locale_dir=NULL; 00038 00043 gboolean check_mode=FALSE; 00044 00049 gchar *log_file_name="/tmp/gitk.log"; 00050 00051 //-- renderer management ------------------------------------------------------- 00056 gchar *gitk_renderer_name=NULL; 00061 GitkRenderer *gitk_renderer=NULL; 00066 gchar *gitk_style_name=NULL; 00067 00071 gboolean exchange_event_loop=FALSE; 00072 00073 //-- internal httpd server ----------------------------------------------------- 00074 00075 #ifdef USE_LIBHTTPD 00076 00080 guint gitk_server_port=0; 00081 00086 GThread* server_thread=NULL; 00087 #endif 00088 00089 //-- context management -------------------------------------------------------- 00094 GList *gitk_dialog_list=NULL; 00099 GitkDialogPtr cur_context=NULL; 00100 00104 GList *gitk_global_callback_list=NULL; 00105 00106 //-- compiled xpath expressions ------------------------------------------------ 00110 xmlXPathCompExprPtr xpath_get_dialog_name=NULL; 00114 xmlXPathCompExprPtr xpath_get_dialog_modality=NULL; 00118 xmlXPathCompExprPtr xpath_get_label=NULL; 00119 00120 //-- xsl instances ------------------------------------------------------------- 00121 00125 xsltStylesheetPtr xsl_expand=NULL; 00129 xsltStylesheetPtr xsl_i18n=NULL; 00133 xsltStylesheetPtr xsl_domain=NULL; 00137 xsltStylesheetPtr xsl_style=NULL; 00138