24#ifndef _NETSURF_DESKTOP_SEARCH_WEB_H_
25#define _NETSURF_DESKTOP_SEARCH_WEB_H_
nserror
Enumeration of error codes.
struct nsurl nsurl
NetSurf URL object.
nserror search_web_omni(const char *term, enum search_web_omni_flags flags, struct nsurl **url_out)
Generate a nsurl from a search term.
nserror search_web_init(const char *provider_fname)
Initialise the web search operations.
nserror search_web_select_provider(const char *selection)
Change the currently selected web search provider.
search_web_omni_flags
Flags which alter the behaviour of the omin search.
@ SEARCH_WEB_OMNI_NONE
no changes to default operation
@ SEARCH_WEB_OMNI_SEARCHONLY
The search does not attempt to interpret the url as a url before using it as a search term.
nserror search_web_finalise(void)
Finalise the web search operations freeing all resources.
ssize_t search_web_iterate_providers(ssize_t iter, const char **name)
Iterate the search providers, returning their names.
nserror search_web_get_provider_bitmap(struct bitmap **bitmap_out)
obtain the current providers bitmap
RISC OS wimp toolkit bitmap.
Graphical user interface browser web search function table.
nserror(* provider_update)(const char *provider_name, struct bitmap *ico_bitmap)
called when the search provider details are updated.