Copy as Markdown

Other Tools

//
// DO NOT EDIT. THIS FILE IS GENERATED FROM $SRCDIR/netwerk/cache2/nsICacheTesting.idl
//
{static D: &[Interface] = &[
Interface {
name: "nsICacheTesting",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* void suspendCacheIOThread (in uint32_t aLevel); */
Method {
name: "SuspendCacheIOThread",
params: &[Param { name: "aLevel", ty: "u32" }],
ret: "::nserror::nsresult",
},
/* void resumeCacheIOThread (); */
Method {
name: "ResumeCacheIOThread",
params: &[],
ret: "::nserror::nsresult",
},
/* void flush (in nsIObserver aObserver); */
Method {
name: "Flush",
params: &[Param { name: "aObserver", ty: "*const nsIObserver" }],
ret: "::nserror::nsresult",
},
]),
},
]; D}