Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions
nsIUrlListManager Interface Reference

import "nsIUrlListManager.idl";

Inheritance diagram for nsIUrlListManager:
Inheritance graph
[legend]
Collaboration diagram for nsIUrlListManager:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void setUpdateUrl (in ACString url)
 Set the URL we check for updates.
void setKeyUrl (in ACString url)
 Set the URL we use to get keys used to decrypt URLs in enchash tables.
boolean registerTable (in ACString tableName, in boolean requireMac)
 Add a table to the list of tables we are managing.
void enableUpdate (in ACString tableName)
 Turn on update checking for a table.
void disableUpdate (in ACString tableName)
 Turn off update checking for a table.
void safeExists (in ACString tableName, in ACString key, in nsIUrlListManagerCallback cb)
 Lookup a key in a table.

Detailed Description

Definition at line 52 of file nsIUrlListManager.idl.


Member Function Documentation

void nsIUrlListManager::disableUpdate ( in ACString  tableName)

Turn off update checking for a table.

void nsIUrlListManager::enableUpdate ( in ACString  tableName)

Turn on update checking for a table.

I.e., during the next server check, download updates for this table.

boolean nsIUrlListManager::registerTable ( in ACString  tableName,
in boolean  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.

void nsIUrlListManager::safeExists ( in ACString  tableName,
in ACString  key,
in nsIUrlListManagerCallback  cb 
)

Lookup a key in a table.

Should not raise exceptions. Calls the callback function with a single parameter: true if the key is in the table, false if it isn't.

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

Set the URL we check for updates.


The documentation for this interface was generated from the following file: