WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

nsIUrlListManager

IID:9c5598ec-9986-40cf-af40-b5e0d817a3a0
Inherits From:nsISupports

This interface is implemented by the following components:


Methods

void checkForUpdates ( ) void disableUpdate ( ACString tableName ) void enableUpdate ( ACString tableName ) PRBool registerTable ( ACString tableName , PRBool requireMac ) void safeLookup ( ACString key , nsIUrlListManagerCallback cb ) void setGethashUrl ( ACString url ) void setKeyUrl ( ACString url ) void setUpdateUrl ( ACString url )

void checkForUpdates ( )


void disableUpdate ( ACString tableName )

Turn off update checking for a table.

Arguments:
tableName

void enableUpdate ( ACString tableName )

Turn on update checking for a table. I.e., during the next server check, download updates for this table.

Arguments:
tableName

PRBool registerTable ( ACString tableName , PRBool requireMac )

Add a table to the list of tables we are managing. The name is a string of the format provider_name-semantic_type-table_type. For example, goog-white-enchash or goog-black-url.

Arguments:
tableName
requireMac

void safeLookup ( ACString key , nsIUrlListManagerCallback cb )

Lookup a key. Should not raise exceptions. Calls the callback function with a comma-separated list of tables to which the key belongs.

Arguments:
key
cb

void setGethashUrl ( ACString url )

Set the URL that we will query for complete hashes after a partial hash match.

Arguments:
url

void setKeyUrl ( ACString url )

Set the URL we use to get keys used to decrypt URLs in enchash tables.

Arguments:
url

void setUpdateUrl ( ACString url )

Set the URL we check for updates.

Arguments:
url

Reference documentation is generated from Mozilla's source.