NetSurf
Data Structures | Macros | Typedefs | Functions | Variables
search.h File Reference
#include "desktop/search.h"
Include dependency graph for search.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  s_search_form_state
 
struct  s_search_form_session
 

Macros

#define SEARCH_MAX_SLEN   24
 

Typedefs

typedef struct s_search_form_sessionSEARCH_FORM_SESSION
 

Functions

struct s_search_form_sessionnsatari_search_session_create (OBJECT *obj, struct gui_window *gw)
 
void nsatari_search_session_destroy (struct s_search_form_session *s)
 
void nsatari_search_perform (struct s_search_form_session *s, OBJECT *obj, search_flags_t f)
 
void nsatari_search_restore_form (struct s_search_form_session *s, OBJECT *obj)
 

Variables

struct gui_search_tableatari_search_table
 

Macro Definition Documentation

◆ SEARCH_MAX_SLEN

#define SEARCH_MAX_SLEN   24

Definition at line 23 of file search.h.

Typedef Documentation

◆ SEARCH_FORM_SESSION

Definition at line 41 of file search.h.

Function Documentation

◆ nsatari_search_perform()

void nsatari_search_perform ( struct s_search_form_session s,
OBJECT *  obj,
search_flags_t  f 
)

Definition at line 262 of file search.c.

References apply_form(), gui_window::browser, browser_window_search(), browser_window_search_clear(), s_browser::bw, s_search_form_state::flags, s_search_form_session::g, input_window, SEARCH_FLAG_FORWARDS, search_session_compare(), and s_search_form_session::state.

Referenced by toolbar_mouse_input().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ nsatari_search_restore_form()

void nsatari_search_restore_form ( struct s_search_form_session s,
OBJECT *  obj 
)

Definition at line 199 of file search.c.

References s_search_form_state::back_avail, s_search_form_state::flags, SEARCH_FLAG_CASE_SENSITIVE, SEARCH_FLAG_SHOWALL, set_text(), s_search_form_session::state, and s_search_form_state::text.

Here is the call graph for this function:

◆ nsatari_search_session_create()

struct s_search_form_session * nsatari_search_session_create ( OBJECT *  obj,
struct gui_window gw 
)

Definition at line 286 of file search.c.

References apply_form(), gui_window::browser, browser_window_search_clear(), s_browser::bw, s_search_form_session::g, and s_search_form_session::state.

Referenced by window_open_search().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ nsatari_search_session_destroy()

void nsatari_search_session_destroy ( struct s_search_form_session s)

Definition at line 224 of file search.c.

References gui_window::browser, browser_window_search_clear(), s_browser::bw, s_search_form_session::g, and NSLOG.

Referenced by gui_window_destroy(), and window_close_search().

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ atari_search_table

struct gui_search_table* atari_search_table
extern

Definition at line 59 of file search.c.

Referenced by main().