inline phrase_array *trie_search(trie_t *self, char *text) { phrase_array *phrases = NULL; if (!trie_search_with_phrases(self, text, &phrases)) { return false; } return phrases; }
bool search_geodb_with_phrases(char *str, phrase_array **phrases) { if (str == NULL) return false; return trie_search_with_phrases(geodb->names, str, phrases); }