Copy as Markdown

Other Tools

//
// DO NOT EDIT. THIS FILE IS GENERATED FROM $SRCDIR/netwerk/cache2/nsICachePurgeLock.idl
//
{static D: &[Interface] = &[
Interface {
name: "nsICachePurgeLock",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* void lock (in AUTF8String profileName); */
Method {
name: "Lock",
params: &[Param { name: "profileName", ty: "*const ::nsstring::nsACString" }],
ret: "::nserror::nsresult",
},
/* boolean isOtherInstanceRunning (); */
Method {
name: "IsOtherInstanceRunning",
params: &[Param { name: "_retval", ty: "*mut bool" }],
ret: "::nserror::nsresult",
},
/* void unlock (); */
Method {
name: "Unlock",
params: &[],
ret: "::nserror::nsresult",
},
/* nsIFile getLockFile (in AUTF8String profileName); */
Method {
name: "GetLockFile",
params: &[Param { name: "profileName", ty: "*const ::nsstring::nsACString" }, Param { name: "_retval", ty: "*mut*const nsIFile" }],
ret: "::nserror::nsresult",
},
]),
},
]; D}