void ami_hotlist_initialise(const char *hotlist_file) { tree_hotlist_path = hotlist_file; hotlist_window = ami_tree_create(TREE_HOTLIST, NULL); if(!hotlist_window) return; }
void ami_global_history_initialise(void) { global_history_window = ami_tree_create(history_global_get_tree_flags(), NULL); if(!global_history_window) return; history_global_initialise(ami_tree_get_tree(global_history_window), tree_directory_icon_name); }
void ami_hotlist_initialise(const char *hotlist_file) { hotlist_window = ami_tree_create(hotlist_get_tree_flags(), NULL); if(!hotlist_window) return; hotlist_initialise(ami_tree_get_tree(hotlist_window), hotlist_file, tree_directory_icon_name); }
void ami_cookies_initialise(void) { cookies_window = ami_tree_create(cookies_get_tree_flags(), NULL); if(!cookies_window) return; cookies_initialise(ami_tree_get_tree(cookies_window), tree_directory_icon_name, tree_content_icon_name); }
void gui_cert_verify(nsurl *url, const struct ssl_cert_info *certs, unsigned long num, nserror (*cb)(bool proceed, void *pw), void *cbpw) { struct sslcert_session_data *data; struct treeview_window *ssl_window; sslcert_viewer_create_session_data(num, url, cb, cbpw, certs, &data); ssl_current_session = data; ssl_window = ami_tree_create(TREE_SSLCERT, data); if(!ssl_window) return; ami_tree_open(ssl_window, AMI_TREE_SSLCERT); }