NetSurf
|
NetSurf core interface registration, construction and destruction. More...
Go to the source code of this file.
Functions | |
nserror | netsurf_register (struct netsurf_table *table) |
Register operation table. More... | |
nserror | netsurf_init (const char *store_path) |
Initialise netsurf core. More... | |
void | netsurf_exit (void) |
Finalise NetSurf core. More... | |
NetSurf core interface registration, construction and destruction.
Definition in file netsurf.h.
void netsurf_exit | ( | void | ) |
Finalise NetSurf core.
Finalise NetSurf core.
Definition at line 232 of file netsurf.c.
References content_factory_fini(), corestrings_fini(), fetcher_quit(), free_user_agent_string(), guit, hlcache_finalise(), hlcache_stop(), image_cache_fini(), js_finalise(), messages_destroy(), netsurf_table::misc, netsurf_lwc_iterator(), ns_system_colour_finalize(), NSLOG, page_info_fini(), gui_misc_table::quit, search_web_finalise(), urldb_destroy(), and utf8_finalise().
Referenced by main(), nsbeos_replicant_main_thread(), nsgtk_finalise(), and WinMain().
nserror netsurf_init | ( | const char * | store_path | ) |
Initialise netsurf core.
store_path | path to persistant storage. |
Definition at line 107 of file netsurf.c.
References image_cache_parameters::bg_clean_time, hlcache_parameters::bg_clean_time, corestrings_init(), llcache_parameters::fetch_attempts, fetcher_init(), HL_CACHE_CLEAN_TIME, hlcache_initialise(), html_init(), image_cache_parameters::hysteresis, llcache_store_parameters::hysteresis, IMAGE_CACHE_CLEAN_TIME, image_cache_init(), image_init(), js_initialise(), image_cache_parameters::limit, llcache_store_parameters::limit, llcache_parameters::limit, hlcache_parameters::llcache, LLCACHE_STORE_MAX_BANDWIDTH, LLCACHE_STORE_MIN_BANDWIDTH, LLCACHE_STORE_MIN_LIFETIME, LLCACHE_STORE_TIME_QUANTUM, MINIMUM_MEMORY_CACHE_SIZE, ns_system_colour_init(), nscolour_update(), nscss_init(), NSERROR_OK, NSLOG, nsoption_charp, nsoption_int, nsoption_uint, page_info_init(), llcache_store_parameters::path, PRIsizet, SPECULATE_SMALL, llcache_parameters::store, and textplain_init().
Referenced by gui_init_replicant(), main(), and WinMain().
nserror netsurf_register | ( | struct netsurf_table * | table | ) |
Register operation table.
table | NetSurf operations table. |
Definition at line 777 of file gui_factory.c.
References netsurf_table::bitmap, netsurf_table::clipboard, netsurf_table::corewindow, default_clipboard_table, default_corewindow_table, default_download_table, default_file_table, default_search_table, default_search_web_table, default_utf8_table, netsurf_table::download, netsurf_table::fetch, netsurf_table::file, guit, netsurf_table::layout, netsurf_table::llcache, netsurf_table::misc, NSERROR_BAD_PARAMETER, NSERROR_INIT_FAILED, NSERROR_OK, null_llcache_table, netsurf_table::search, netsurf_table::search_web, netsurf_table::utf8, verify_bitmap_register(), verify_clipboard_register(), verify_corewindow_register(), verify_download_register(), verify_fetch_register(), verify_file_register(), verify_layout_register(), verify_llcache_register(), verify_misc_register(), verify_search_register(), verify_search_web_register(), verify_utf8_register(), verify_window_register(), and netsurf_table::window.
Referenced by gui_init_replicant(), main(), and WinMain().