diff options
author | Vincent Sanders <vince@kyllikki.org> | 2020-06-24 23:49:59 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2020-06-24 23:49:59 +0100 |
commit | ebe1b0511444e82830e8de239c34c6817817fba8 (patch) | |
tree | 62b03f2f06ed0fc279d2830f82a299d443583aea /content/content.h | |
parent | 2352bea1534c5cfe13018cbc04b9026f5dda60f7 (diff) | |
download | netsurf-ebe1b0511444e82830e8de239c34c6817817fba8.tar.gz netsurf-ebe1b0511444e82830e8de239c34c6817817fba8.tar.bz2 |
improve desktop text search header usage
remove unecessary inclusion of desktop search header in content
header which has knock on effect of not having ctype or string
system headers dragged in unecessarily.
Futher this highlighted use of ctype API where internal ascii
processing ought to be used.
Diffstat (limited to 'content/content.h')
-rw-r--r-- | content/content.h | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/content/content.h b/content/content.h index edf9ed2cc..1bae813b2 100644 --- a/content/content.h +++ b/content/content.h @@ -29,7 +29,6 @@ #include <libwapcaplet/libwapcaplet.h> -#include "desktop/search.h" /* search flags enum */ #include "netsurf/content_type.h" #include "netsurf/mouse.h" /* mouse state enums */ #include "netsurf/console.h" /* console state and flags enums */ @@ -421,24 +420,6 @@ bool content_scroll_at_point(struct hlcache_handle *h, bool content_drop_file_at_point(struct hlcache_handle *h, int x, int y, char *file); -/** - * Free text search a content - * - * \param[in] h Handle to content to search. - * \param[in] context The context passed to gui table search handlers - * \param[in] flags The flags that control the search - * \param[in] The string being searched for. - * \retun NSERROR_OK on success else error code on faliure - */ -nserror content_textsearch(struct hlcache_handle *h, void *context, search_flags_t flags, const char *string); - -/** - * Clear a search - * - * \param[in] h Handle to content to clear search from. - */ -nserror content_textsearch_clear(struct hlcache_handle *h); - /** * Control debug con a content. |