NetSurf
Functions
cookies.h File Reference

Interface to win32 cookie viewing using nsw32 core windows. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

nserror nsw32_cookies_present (const char *search_term)
 make the cookie window visible. More...
 
nserror nsw32_cookies_finalise (void)
 Free any resources allocated for the cookie window. More...
 

Detailed Description

Interface to win32 cookie viewing using nsw32 core windows.

The interface assumes there is only a single cookie window which is presented (shown) when asked for and hidden by usual toolkit mechanics.

The destructor is called once during browser shutdown

Definition in file cookies.h.

Function Documentation

◆ nsw32_cookies_finalise()

nserror nsw32_cookies_finalise ( void  )

Free any resources allocated for the cookie window.

Returns
NSERROR_OK on success else appropriate error code on faliure.

Definition at line 189 of file cookies.c.

References cookie_manager_fini(), cookie_window, nsw32_cookie_window::core, nsw32_corewindow::hWnd, NSERROR_OK, and nsw32_corewindow_fini().

Here is the call graph for this function:

◆ nsw32_cookies_present()

nserror nsw32_cookies_present ( const char *  search_term)

make the cookie window visible.

Returns
NSERROR_OK on success else appropriate error code on faliure.

Definition at line 173 of file cookies.c.

References cookie_manager_set_search_string(), cookie_window, nsw32_cookie_window::core, hinst, nsw32_corewindow::hWnd, NSERROR_OK, nsw32_cookie_init(), and ShowWindow.

Referenced by nsws_window_command().

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