Copy as Markdown
Other Tools
//
// DO NOT EDIT. THIS FILE IS GENERATED FROM $SRCDIR/security/sandbox/linux/interfaces/mozISandboxReporter.idl
//
{static D: &[Interface] = &[
Interface {
name: "mozISandboxReport",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* readonly attribute uint64_t msecAgo; */
Method {
name: "GetMsecAgo",
params: &[Param { name: "aMsecAgo", ty: "*mut u64" }],
ret: "::nserror::nsresult",
},
/* readonly attribute int32_t pid; */
Method {
name: "GetPid",
params: &[Param { name: "aPid", ty: "*mut i32" }],
ret: "::nserror::nsresult",
},
/* readonly attribute int32_t tid; */
Method {
name: "GetTid",
params: &[Param { name: "aTid", ty: "*mut i32" }],
ret: "::nserror::nsresult",
},
/* readonly attribute ACString procType; */
Method {
name: "GetProcType",
params: &[Param { name: "aProcType", ty: "*mut ::nsstring::nsACString" }],
ret: "::nserror::nsresult",
},
/* readonly attribute uint32_t syscall; */
Method {
name: "GetSyscall",
params: &[Param { name: "aSyscall", ty: "*mut u32" }],
ret: "::nserror::nsresult",
},
/* readonly attribute uint32_t numArgs; */
Method {
name: "GetNumArgs",
params: &[Param { name: "aNumArgs", ty: "*mut u32" }],
ret: "::nserror::nsresult",
},
/* ACString getArg (in uint32_t aIndex); */
Method {
name: "GetArg",
params: &[Param { name: "aIndex", ty: "u32" }, Param { name: "_retval", ty: "*mut ::nsstring::nsACString" }],
ret: "::nserror::nsresult",
},
]),
},
Interface {
name: "mozISandboxReportArray",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* readonly attribute uint64_t begin; */
Method {
name: "GetBegin",
params: &[Param { name: "aBegin", ty: "*mut u64" }],
ret: "::nserror::nsresult",
},
/* readonly attribute uint64_t end; */
Method {
name: "GetEnd",
params: &[Param { name: "aEnd", ty: "*mut u64" }],
ret: "::nserror::nsresult",
},
/* mozISandboxReport getElement (in uint64_t aIndex); */
Method {
name: "GetElement",
params: &[Param { name: "aIndex", ty: "u64" }, Param { name: "_retval", ty: "*mut *const mozISandboxReport" }],
ret: "::nserror::nsresult",
},
]),
},
Interface {
name: "mozISandboxReporter",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* mozISandboxReportArray snapshot (); */
Method {
name: "Snapshot",
params: &[Param { name: "_retval", ty: "*mut *const mozISandboxReportArray" }],
ret: "::nserror::nsresult",
},
]),
},
]; D}