From d462f4d5faa12f20c02ad0bc6a9444ab8c73a261 Mon Sep 17 00:00:00 2001 From: c9s Date: Sun, 18 May 2014 07:36:17 +0800 Subject: [PATCH] fix dep libgvc --- configure.ac | 2 +- include/r3.h | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index f7408d1..d8a3972 100644 --- a/configure.ac +++ b/configure.ac @@ -26,7 +26,7 @@ AC_FUNC_REALLOC AC_CHECK_FUNCS([gettimeofday memset strchr strdup strndup strstr]) PKG_PROG_PKG_CONFIG -PKG_CHECK_MODULES(DEPS, [libpcre check gvc]) +PKG_CHECK_MODULES(DEPS, [libpcre check libgvc]) AC_SUBST(DEPS_CFLAGS) AC_SUBST(DEPS_LIBS) AC_CONFIG_FILES([ diff --git a/include/r3.h b/include/r3.h index 1fdf51f..b33db9d 100644 --- a/include/r3.h +++ b/include/r3.h @@ -104,6 +104,8 @@ node * r3_tree_insert_pathn(node *tree, char *route, int route_len, void * route void r3_tree_dump(node * n, int level); +int r3_tree_render_file(node * tree, char * format, char * filename); + edge * r3_node_find_edge_str(node * n, char * str, int str_len); @@ -129,4 +131,5 @@ match_entry * match_entry_create(char * path, int path_len); void match_entry_free(match_entry * entry); + #endif /* !NODE_H */