projects
/
collection4.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
"show instance" action: Add link to current host.
[collection4.git]
/
src
/
utils_search.h
diff --git
a/src/utils_search.h
b/src/utils_search.h
index
5e3e2b8
..
62ab6ce
100644
(file)
--- a/
src/utils_search.h
+++ b/
src/utils_search.h
@@
-32,7
+32,13
@@
typedef struct search_info_s search_info_t;
search_info_t *search_parse (const char *search);
void search_destroy (search_info_t *si);
search_info_t *search_parse (const char *search);
void search_destroy (search_info_t *si);
+/* Returns true if at least one of the ident fields is defined (not a
+ * wildcard), false otherwise. If no field has been specified, searching is a
+ * lot easier. */
+_Bool search_has_selector (search_info_t *si);
+
graph_ident_t *search_to_ident (search_info_t *si);
graph_ident_t *search_to_ident (search_info_t *si);
+search_info_t *search_from_ident (const graph_ident_t *ident);
_Bool search_graph_title_matches (search_info_t *si, const char *title);
_Bool search_graph_title_matches (search_info_t *si, const char *title);