NetSurf
Functions
viewsource.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

nserror nsgtk_viewsource (GtkWindow *parent, struct browser_window *bw)
 

Function Documentation

◆ nsgtk_viewsource()

nserror nsgtk_viewsource ( GtkWindow *  parent,
struct browser_window bw 
)

Definition at line 33 of file viewsource.c.

References browser_window_access_url(), browser_window_get_content(), CONTENT_ENCODING_NORMAL, content_get_encoding(), content_get_source_data(), content_get_type(), CONTENT_HTML, messages_get(), NSERROR_BAD_CONTENT, NSERROR_BAD_PARAMETER, NSERROR_NOMEM, NSERROR_OK, nsgtk_viewdata(), nsurl_access(), nsurl_nice(), SLEN, and utf8_from_enc().

Referenced by viewsource_button_clicked_cb().

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