| Top |
| UCURLsUserActions * | uc_application_get_urls_user_action () |
| UCURLsUserActions * | uc_application_get_urls_user_action_by_value () |
| void | uc_application_urls_user_actions_init () |
| #define | UC_DISPLAY_PROTO_IS() |
| #define | UC_DISPLAY_PROTO_SET() |
| #define | UC_DISPLAY_PROTO_UNSET() |
| #define | UC_DISPLAY_STATUS_IS() |
| #define | UC_DISPLAY_STATUS_SET() |
| #define | UC_DISPLAY_STATUS_UNSET() |
| #define | UC_DISPLAY_TYPE_IS() |
| #define | UC_DISPLAY_TYPE_SET() |
| #define | UC_DISPLAY_TYPE_UNSET() |
| #define | WSENS() |
| #define | UC_GET_WIDGET() |
| #define | UC_SET_WIDGET() |
| #define | WGET() |
UCURLsUserActions *
uc_application_get_urls_user_action (gchar *key);
Get a action by its key.
UCURLsUserActions *
uc_application_get_urls_user_action_by_value
(gchar *value);
Get a action by its value.
void
uc_application_urls_user_actions_init (void);
This function load the actions tp associate with bad URLs.
#define UC_GET_WIDGET(name, window, widget)
Macro to get a GtkWidget in the third argument.
see
: UC_SET_WIDGET()
#define UC_SET_WIDGET(name, window, widget)
Macro to save a GtkWidget to retrieve it faster later.
see
: UC_GET_WIDGET()
#define UC_BUFFER_DATETIME_LEN
Macro to indicate maximum length of date and time buffers.
#define UC_DIALOG_SETTINGS_DOCUMENT_TYPES_MAX_COLS
Macro for the maximum number of columns to display for document types in the "Documents" and "Images" notbooks of the settings.
#define UC_CHECK_BUTTON_MAX_DISPLAY
Macro for the maximum number of check boxes to display for document types in the "Documents" and "Images" notbooks of the settings.
#define UC_CHECK_MESSAGE_LABEL_FIRST
Macro to indicate on which location on the check dialog we must dislay a message.
#define UC_CHECK_MESSAGE_LABEL_SECOND
Macro to indicate on which location on the check dialog we must dislay a message.
#define UC_CHECK_MESSAGE_LABEL_THIRD
Macro to indicate on which location on the check dialog we must dislay a message.
#define UC_STATUS_CODE_INTERNALS_LIMIT
Macro to indicate that all status codes upper are gURLChecker internal status codes.
#define UC_STATUS_CODE_MOVED_PERMANENTLY
Macro for HTTP status code 301.
#define UC_STATUS_CODE_REDIRECTED_SEE_OTHER
Macro for HTTP status code 303.
#define UC_STATUS_CODE_FTP_MAX_CLIENTS
Macro for FTP response we are using for "Max clients".
#define UC_STATUS_CODE_IGNORED_LINK
Macro for gURLChecker internal status code.
#define UC_STATUS_CODE_MALFORMED_LINK
Macro for gURLChecker internal status code.
#define UC_STATUS_CODE_FILE_PROTO_ERROR
Macro for gURLChecker internal status code.
#define UC_STATUS_CODE_BAD_EMAIL_LINK
Macro for gURLChecker internal status code.
#define UC_STATUS_CODE_BAD_EMAIL_LINK_MX
Macro for gURLChecker internal status code.
#define UC_STATUS_CODE_GOOD_EMAIL_LINK
Macro for gURLChecker internal status code.
#define UC_HOST_UNREACHABLE_LINK_BGCOLOR
Macro for "host unreachable" links color.
#define UC_NO_DATA_LINK_BGCOLOR
Macro for color of good links with no content.
#define UC_FILE_ERROR_LINK_BGCOLOR
Macro for local files links color when user choose to consider them like an error.
#define UC_CHECK_PROTOCOLS_ACCEPTED
Macro for indicate which protocols we can check. For the moment gURLChecker can only check HTTP protocol.
#define UC_CHECK_PROTOCOLS_ACCEPTED_LEN
Macro for indicate the number of protocols we can check.
#define UC_CHECK_PROTOCOLS_GET_ACCEPTED
Macro to get protocols we can check.
#define UC_DEFAULT_SECURITY_BAD_EXTENSIONS
Macro to indicate for which bad extensions we must search.
#define UC_DEFAULT_SECURITY_VIRII_EXTENSIONS
Macro to indicate for which extensions we must search for virii.
#define UC_DEFAULT_W3C_HTML_EXTENSIONS
Macro to indicate for which extensions we must search for HTML validation.
#define UC_DEFAULT_W3C_CSS_EXTENSIONS
Macro to indicate for which extensions we must search for CSS validation.
#define UC_LABEL_DISPLAY_MAX_LEN
Macro to indicate the maximum display size of a string.
#define UC_DEFAULT_WEB_BROWSER_PATH
Macro to specify default browser path location.
#define UC_HEADER_STATUS_CODE_LEN
Macro indicate the maximum length of a HTTP status code.
#define UC_HEADER_STATUS_CODE_FIRST_POS
Macro to indicate the first position of the HTTP status code in the buffer.
#define UC_CONTENT_TYPE_HTML
Macro for the HTTP content type string identifier.
#define UC_URL_DEFAULT_PORT
Macro to indicate the default URL port when it is not specified.
#define UC_URL_DEFAULT_SSL_PORT
Macro to indicate the default URL port when it is not specified.
#define UC_TOOLTIPS_DELAY_DEFAULT
Macro to indicate main tree view tooltip delay.
#define UC_CHECK_WAIT_DEFAULT
Macro for default time to wait between links check.
#define UC_TIMEOUTS_BLOCKED_DEFAULT
Macro for maximum number of attempts after a timedouted host should not be checked anymore
struct UCStatusCode {
gchar *color;
gchar *message;
gchar *description;
GdkPixbuf *icon_file;
};
Structure to store status code properties.
struct UCHTMLTag {
guint depth;
gchar *label;
gchar *value;
UCLinkType type;
};
Structure for HTML tags nodes.
struct UCLinkProperties {
guint32 uid;
gchar *treeview_path;
struct _UCLinkProperties *parent;
gchar *current_path;
GtkTreeIter iter;
gpointer tag;
UCLinkType link_type;
GdkPixbuf *link_icon;
GdkPixbuf *status_icon;
gchar *user_action;
gchar *link_value;
gchar *url;
gchar *normalized_url;
gchar *label;
gchar *ip_addr;
gchar *protocol;
gchar *h_name;
gchar *port;
gchar *path;
gchar *args;
gchar *domain;
GHashTable *header;
guint header_size;
guint depth_level;
gboolean is_parsable;
gboolean is_downloadable;
gboolean checked;
xmlNodePtr xml_node;
#ifdef ENABLE_JSON
JsonArray *json_array;
#endif
guint32 bookmark_folder_id;
guint32 bookmark_id;
gboolean to_delete;
GList *metas;
GList *emails;
GList *all_links;
GList *childs;
GList *similar_links_parents;
GList *bad_extensions;
gboolean virii;
gchar *virname;
gboolean w3c_valid;
GList *tags;
};
Structure to store links properties.
guint32 |
Unique identifier for this node. |
|
gchar * |
tree view path of this node (it is filled on tree view display). |
|
struct _UCLinkProperties * |
Parent of this node. |
|
gchar * |
Current path of the page containing this link. |
|
GtkTreeIter |
GtkTreeIter iterator used for main URL treeview management. |
|
gpointer |
UCHTMLTag node for this link. |
|
Type of this link. |
||
GdkPixbuf * |
Icon associated with the type of this link. |
|
GdkPixbuf * |
Icon associated with the status of this link. |
|
gchar * |
A user defined action label |
|
gchar * |
Brut value of this link. |
|
gchar * |
Well formed URL of this link. |
|
gchar * |
Absolute URL. |
|
gchar * |
Label of this link. |
|
gchar * |
||
gchar * |
Protocol of the URL. |
|
gchar * |
Hostname of the URL. |
|
gchar * |
Port of the URL. |
|
gchar * |
Path of the URL. |
|
gchar * |
Arguments of the URL. |
|
gchar * |
Domain name of the URL hostname. |
|
GHashTable * |
GHashTable containing HTTP header fields and values. |
|
guint |
Size of the HTTP header. |
|
guint |
Depth level of this node. |
|
gboolean |
TRUE if the content pointed by this link can be parse to retreive others links. |
|
gboolean |
TRUE if the content of this link can be downloaded. |
|
gboolean |
TRUE is this link has already been proccessed. |
|
Reference on the XmlNodePtr of the XmlDocPtr for this node. This field is used only for bookmarks. |
||
JsonArray * |
||
guint32 |
Reference on the parent id. This field is used only for FF sqlite3 bookmarks. |
|
guint32 |
id of the bookmark in FF database |
|
gboolean |
TRUE if this node has been deleted. This field is used only for bookmarks. |
|
GList * |
GList of page HTML meta tags (pointers on this node "tags" propertie). |
|
GList * |
GList of E-Mails in this page (pointers on this node "tags" propertie). |
|
GList * |
GList of all links in this page (pointers on this node "tags" propertie). |
|
GList * |
Childs nodes of this node. |
|
GList * |
Pointer on other nodes for links in this page that has been already processed in another page. |
|
GList * |
GList of bad extensions that exists on the server for this node. |
|
gboolean |
if the file is a virus or not |
|
gchar * |
Name of the virus is |
|
gboolean |
|
|
GList * |