Copy as Markdown

Other Tools

//
// DO NOT EDIT. THIS FILE IS GENERATED FROM $SRCDIR/netwerk/base/nsIAuthPrompt2.idl
//
{static D: &[Interface] = &[
Interface {
name: "nsIAuthPrompt2",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* boolean promptAuth (in nsIChannel aChannel, in uint32_t level, in nsIAuthInformation authInfo); */
Method {
name: "PromptAuth",
params: &[Param { name: "aChannel", ty: "*const nsIChannel" }, Param { name: "level", ty: "u32" }, Param { name: "authInfo", ty: "*const nsIAuthInformation" }, Param { name: "_retval", ty: "*mut bool" }],
ret: "::nserror::nsresult",
},
/* nsICancelable asyncPromptAuth (in nsIChannel aChannel, in nsIAuthPromptCallback aCallback, in nsISupports aContext, in uint32_t level, in nsIAuthInformation authInfo); */
Method {
name: "AsyncPromptAuth",
params: &[Param { name: "aChannel", ty: "*const nsIChannel" }, Param { name: "aCallback", ty: "*const nsIAuthPromptCallback" }, Param { name: "aContext", ty: "*const nsISupports" }, Param { name: "level", ty: "u32" }, Param { name: "authInfo", ty: "*const nsIAuthInformation" }, Param { name: "_retval", ty: "*mut*const nsICancelable" }],
ret: "::nserror::nsresult",
},
]),
},
]; D}