Copy as Markdown

Other Tools

//
// DO NOT EDIT. THIS FILE IS GENERATED FROM $SRCDIR/toolkit/components/cookiebanners/nsICookieRule.idl
//
{static D: &[Interface] = &[
Interface {
name: "nsICookieRule",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* readonly attribute nsICookie cookie; */
Method {
name: "GetCookie",
params: &[Param { name: "aCookie", ty: "*mut *const nsICookie" }],
ret: "::nserror::nsresult",
},
/* readonly attribute int64_t expiryRelative; */
Method {
name: "GetExpiryRelative",
params: &[Param { name: "aExpiryRelative", ty: "*mut i64" }],
ret: "::nserror::nsresult",
},
/* readonly attribute AUTF8String unsetValue; */
Method {
name: "GetUnsetValue",
params: &[Param { name: "aUnsetValue", ty: "*mut ::nsstring::nsACString" }],
ret: "::nserror::nsresult",
},
/* [noscript] nsICookieRule copyForDomain (in ACString aDomain); */
Method {
name: "CopyForDomain",
params: &[Param { name: "aDomain", ty: "*const ::nsstring::nsACString" }, Param { name: "_retval", ty: "*mut *const nsICookieRule" }],
ret: "::nserror::nsresult",
},
]),
},
]; D}