Copy as Markdown

Other Tools

//
// DO NOT EDIT. THIS FILE IS GENERATED FROM $SRCDIR/netwerk/base/nsIRedirectChannelRegistrar.idl
//
{static D: &[Interface] = &[
Interface {
name: "nsIRedirectChannelRegistrar",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* void registerChannel (in nsIChannel channel, in uint64_t id); */
Method {
name: "RegisterChannel",
params: &[Param { name: "channel", ty: "*const nsIChannel" }, Param { name: "id", ty: "u64" }],
ret: "::nserror::nsresult",
},
/* nsIChannel linkChannels (in uint64_t id, in nsIParentChannel channel); */
Method {
name: "LinkChannels",
params: &[Param { name: "id", ty: "u64" }, Param { name: "channel", ty: "*const nsIParentChannel" }, Param { name: "_retval", ty: "*mut*const nsIChannel" }],
ret: "::nserror::nsresult",
},
/* nsIChannel getRegisteredChannel (in uint64_t id); */
Method {
name: "GetRegisteredChannel",
params: &[Param { name: "id", ty: "u64" }, Param { name: "_retval", ty: "*mut*const nsIChannel" }],
ret: "::nserror::nsresult",
},
/* nsIParentChannel getParentChannel (in uint64_t id); */
Method {
name: "GetParentChannel",
params: &[Param { name: "id", ty: "u64" }, Param { name: "_retval", ty: "*mut*const nsIParentChannel" }],
ret: "::nserror::nsresult",
},
/* void deregisterChannels (in uint64_t id); */
Method {
name: "DeregisterChannels",
params: &[Param { name: "id", ty: "u64" }],
ret: "::nserror::nsresult",
},
]),
},
]; D}