Copy as Markdown

Other Tools

//
// DO NOT EDIT. THIS FILE IS GENERATED FROM $SRCDIR/netwerk/cache2/nsICacheEntryOpenCallback.idl
//
{static D: &[Interface] = &[
Interface {
name: "nsICacheEntryOpenCallback",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* unsigned long onCacheEntryCheck (in nsICacheEntry aEntry); */
Method {
name: "OnCacheEntryCheck",
params: &[Param { name: "aEntry", ty: "*const nsICacheEntry" }, Param { name: "_retval", ty: "*mut u32" }],
ret: "::nserror::nsresult",
},
/* void onCacheEntryAvailable (in nsICacheEntry aEntry, in boolean aNew, in nsresult aResult); */
Method {
name: "OnCacheEntryAvailable",
params: &[Param { name: "aEntry", ty: "*const nsICacheEntry" }, Param { name: "aNew", ty: "bool" }, Param { name: "aResult", ty: "nserror::nsresult" }],
ret: "::nserror::nsresult",
},
]),
},
]; D}