Back to index

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

import "nsICookieStorage.idl";

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

List of all members.

Public Member Functions

void getCookie (in string aCookieURL, in voidPtr aCookieBuffer, in PRUint32Ref aCookieSize)
 Retrieves a cookie from the browser's persistent cookie store.
void setCookie (in string aCookieURL, in constVoidPtr aCookieBuffer, in unsigned long aCookieSize)
 Stores a cookie in the browser's persistent cookie store.

Detailed Description

Definition at line 51 of file nsICookieStorage.idl.


Member Function Documentation

void nsICookieStorage::getCookie ( in string  aCookieURL,
in voidPtr  aCookieBuffer,
in PRUint32Ref  aCookieSize 
)

Retrieves a cookie from the browser's persistent cookie store.

Parameters:
aCookieURL- URL string to look up cookie with.
aCookieBuffer- buffer large enough to accomodate cookie data.
aCookieSize- on input, size of the cookie buffer, on output cookie's size.
void nsICookieStorage::setCookie ( in string  aCookieURL,
in constVoidPtr  aCookieBuffer,
in unsigned long  aCookieSize 
)

Stores a cookie in the browser's persistent cookie store.

Parameters:
aCookieURL- URL string store cookie with.
aCookieBuffer- buffer containing cookie data.
aCookieSize- specifies size of cookie data.

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