Copy as Markdown

Other Tools

//
// DO NOT EDIT. THIS FILE IS GENERATED FROM $SRCDIR/netwerk/url-classifier/nsIUrlClassifierExceptionList.idl
//
{static D: &[Interface] = &[
Interface {
name: "nsIUrlClassifierExceptionList",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* void init (in ACString aFeature); */
Method {
name: "Init",
params: &[Param { name: "aFeature", ty: "*const ::nsstring::nsACString" }],
ret: "::nserror::nsresult",
},
/* void addEntry (in nsIUrlClassifierExceptionListEntry aEntry); */
Method {
name: "AddEntry",
params: &[Param { name: "aEntry", ty: "*const nsIUrlClassifierExceptionListEntry" }],
ret: "::nserror::nsresult",
},
/* boolean matches (in nsIURI aURI, in nsIURI aTopLevelURI, in boolean aIsPrivateBrowsing); */
Method {
name: "Matches",
params: &[Param { name: "aURI", ty: "*const nsIURI" }, Param { name: "aTopLevelURI", ty: "*const nsIURI" }, Param { name: "aIsPrivateBrowsing", ty: "bool" }, Param { name: "_retval", ty: "*mut bool" }],
ret: "::nserror::nsresult",
},
/* Array<nsIUrlClassifierExceptionListEntry> testGetEntries (); */
Method {
name: "TestGetEntries",
params: &[Param { name: "_retval", ty: "*mut thin_vec::ThinVec<Option<RefPtr<nsIUrlClassifierExceptionListEntry>>>" }],
ret: "::nserror::nsresult",
},
]),
},
]; D}