Copy as Markdown
Other Tools
//
// DO NOT EDIT. THIS FILE IS GENERATED FROM $SRCDIR/netwerk/dns/nsIEffectiveTLDService.idl
//
{static D: &[Interface] = &[
Interface {
name: "nsIEffectiveTLDService",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* ACString getPublicSuffix (in nsIURI aURI); */
Method {
name: "GetPublicSuffix",
params: &[Param { name: "aURI", ty: "*const nsIURI" }, Param { name: "_retval", ty: "*mut ::nsstring::nsACString" }],
ret: "::nserror::nsresult",
},
/* ACString getKnownPublicSuffix (in nsIURI aURI); */
Method {
name: "GetKnownPublicSuffix",
params: &[Param { name: "aURI", ty: "*const nsIURI" }, Param { name: "_retval", ty: "*mut ::nsstring::nsACString" }],
ret: "::nserror::nsresult",
},
/* ACString getBaseDomain (in nsIURI aURI, [optional] in uint32_t aAdditionalParts); */
Method {
name: "GetBaseDomain",
params: &[Param { name: "aURI", ty: "*const nsIURI" }, Param { name: "aAdditionalParts", ty: "u32" }, Param { name: "_retval", ty: "*mut ::nsstring::nsACString" }],
ret: "::nserror::nsresult",
},
/* ACString getSchemelessSite (in nsIURI aURI); */
Method {
name: "GetSchemelessSite",
params: &[Param { name: "aURI", ty: "*const nsIURI" }, Param { name: "_retval", ty: "*mut ::nsstring::nsACString" }],
ret: "::nserror::nsresult",
},
/* ACString getSchemelessSiteFromHost (in AUTF8String aHost); */
Method {
name: "GetSchemelessSiteFromHost",
params: &[Param { name: "aHost", ty: "*const ::nsstring::nsACString" }, Param { name: "_retval", ty: "*mut ::nsstring::nsACString" }],
ret: "::nserror::nsresult",
},
/* ACString getSite (in nsIURI aURI); */
Method {
name: "GetSite",
params: &[Param { name: "aURI", ty: "*const nsIURI" }, Param { name: "_retval", ty: "*mut ::nsstring::nsACString" }],
ret: "::nserror::nsresult",
},
/* ACString getPublicSuffixFromHost (in AUTF8String aHost); */
Method {
name: "GetPublicSuffixFromHost",
params: &[Param { name: "aHost", ty: "*const ::nsstring::nsACString" }, Param { name: "_retval", ty: "*mut ::nsstring::nsACString" }],
ret: "::nserror::nsresult",
},
/* ACString getKnownPublicSuffixFromHost (in AUTF8String aHost); */
Method {
name: "GetKnownPublicSuffixFromHost",
params: &[Param { name: "aHost", ty: "*const ::nsstring::nsACString" }, Param { name: "_retval", ty: "*mut ::nsstring::nsACString" }],
ret: "::nserror::nsresult",
},
/* ACString getBaseDomainFromHost (in AUTF8String aHost, [optional] in uint32_t aAdditionalParts); */
Method {
name: "GetBaseDomainFromHost",
params: &[Param { name: "aHost", ty: "*const ::nsstring::nsACString" }, Param { name: "aAdditionalParts", ty: "u32" }, Param { name: "_retval", ty: "*mut ::nsstring::nsACString" }],
ret: "::nserror::nsresult",
},
/* ACString getNextSubDomain (in AUTF8String aHost); */
Method {
name: "GetNextSubDomain",
params: &[Param { name: "aHost", ty: "*const ::nsstring::nsACString" }, Param { name: "_retval", ty: "*mut ::nsstring::nsACString" }],
ret: "::nserror::nsresult",
},
/* boolean hasRootDomain (in AUTF8String aInput, in AUTF8String aHost); */
Method {
name: "HasRootDomain",
params: &[Param { name: "aInput", ty: "*const ::nsstring::nsACString" }, Param { name: "aHost", ty: "*const ::nsstring::nsACString" }, Param { name: "_retval", ty: "*mut bool" }],
ret: "::nserror::nsresult",
},
/* boolean hasKnownPublicSuffix (in nsIURI aURI); */
Method {
name: "HasKnownPublicSuffix",
params: &[Param { name: "aURI", ty: "*const nsIURI" }, Param { name: "_retval", ty: "*mut bool" }],
ret: "::nserror::nsresult",
},
/* boolean hasKnownPublicSuffixFromHost (in AUTF8String aHost); */
Method {
name: "HasKnownPublicSuffixFromHost",
params: &[Param { name: "aHost", ty: "*const ::nsstring::nsACString" }, Param { name: "_retval", ty: "*mut bool" }],
ret: "::nserror::nsresult",
},
]),
},
]; D}