DXR is a code search and navigation tool aimed at making sense of large projects. It supports full-text and regex searches as well as structural queries.

Untracked file

mozISandboxReport

mozISandboxReportArray

mozISandboxReporter

Macros

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361
/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM ../../../dist/idl/mozISandboxReporter.idl
 */

#ifndef __gen_mozISandboxReporter_h__
#define __gen_mozISandboxReporter_h__


#ifndef __gen_nsISupports_h__
#include "nsISupports.h"
#endif

/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif

/* starting interface:    mozISandboxReport */
#define MOZISANDBOXREPORT_IID_STR "ed1e84d3-3346-42e1-b28c-e76a77f549f0"

#define MOZISANDBOXREPORT_IID \
  {0xed1e84d3, 0x3346, 0x42e1, \
    { 0xb2, 0x8c, 0xe7, 0x6a, 0x77, 0xf5, 0x49, 0xf0 }}

class NS_NO_VTABLE mozISandboxReport : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(MOZISANDBOXREPORT_IID)

  /* readonly attribute uint64_t msecAgo; */
  NS_IMETHOD GetMsecAgo(uint64_t *aMsecAgo) = 0;

  /* readonly attribute int32_t pid; */
  NS_IMETHOD GetPid(int32_t *aPid) = 0;

  /* readonly attribute int32_t tid; */
  NS_IMETHOD GetTid(int32_t *aTid) = 0;

  /* readonly attribute ACString procType; */
  NS_IMETHOD GetProcType(nsACString & aProcType) = 0;

  /* readonly attribute uint32_t syscall; */
  NS_IMETHOD GetSyscall(uint32_t *aSyscall) = 0;

  /* readonly attribute uint32_t numArgs; */
  NS_IMETHOD GetNumArgs(uint32_t *aNumArgs) = 0;

  /* ACString getArg (in uint32_t aIndex); */
  NS_IMETHOD GetArg(uint32_t aIndex, nsACString & _retval) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(mozISandboxReport, MOZISANDBOXREPORT_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_MOZISANDBOXREPORT \
  NS_IMETHOD GetMsecAgo(uint64_t *aMsecAgo) override; \
  NS_IMETHOD GetPid(int32_t *aPid) override; \
  NS_IMETHOD GetTid(int32_t *aTid) override; \
  NS_IMETHOD GetProcType(nsACString & aProcType) override; \
  NS_IMETHOD GetSyscall(uint32_t *aSyscall) override; \
  NS_IMETHOD GetNumArgs(uint32_t *aNumArgs) override; \
  NS_IMETHOD GetArg(uint32_t aIndex, nsACString & _retval) override; 

/* Use this macro when declaring the members of this interface when the
   class doesn't implement the interface. This is useful for forwarding. */
#define NS_DECL_NON_VIRTUAL_MOZISANDBOXREPORT \
  nsresult GetMsecAgo(uint64_t *aMsecAgo); \
  nsresult GetPid(int32_t *aPid); \
  nsresult GetTid(int32_t *aTid); \
  nsresult GetProcType(nsACString & aProcType); \
  nsresult GetSyscall(uint32_t *aSyscall); \
  nsresult GetNumArgs(uint32_t *aNumArgs); \
  nsresult GetArg(uint32_t aIndex, nsACString & _retval); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_MOZISANDBOXREPORT(_to) \
  NS_IMETHOD GetMsecAgo(uint64_t *aMsecAgo) override { return _to GetMsecAgo(aMsecAgo); } \
  NS_IMETHOD GetPid(int32_t *aPid) override { return _to GetPid(aPid); } \
  NS_IMETHOD GetTid(int32_t *aTid) override { return _to GetTid(aTid); } \
  NS_IMETHOD GetProcType(nsACString & aProcType) override { return _to GetProcType(aProcType); } \
  NS_IMETHOD GetSyscall(uint32_t *aSyscall) override { return _to GetSyscall(aSyscall); } \
  NS_IMETHOD GetNumArgs(uint32_t *aNumArgs) override { return _to GetNumArgs(aNumArgs); } \
  NS_IMETHOD GetArg(uint32_t aIndex, nsACString & _retval) override { return _to GetArg(aIndex, _retval); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_MOZISANDBOXREPORT(_to) \
  NS_IMETHOD GetMsecAgo(uint64_t *aMsecAgo) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMsecAgo(aMsecAgo); } \
  NS_IMETHOD GetPid(int32_t *aPid) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPid(aPid); } \
  NS_IMETHOD GetTid(int32_t *aTid) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTid(aTid); } \
  NS_IMETHOD GetProcType(nsACString & aProcType) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetProcType(aProcType); } \
  NS_IMETHOD GetSyscall(uint32_t *aSyscall) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSyscall(aSyscall); } \
  NS_IMETHOD GetNumArgs(uint32_t *aNumArgs) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNumArgs(aNumArgs); } \
  NS_IMETHOD GetArg(uint32_t aIndex, nsACString & _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetArg(aIndex, _retval); } 

#if 0
/* Use the code below as a template for the implementation class for this interface. */

/* Header file */
class _MYCLASS_ : public mozISandboxReport
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_MOZISANDBOXREPORT

  _MYCLASS_();

private:
  ~_MYCLASS_();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS(_MYCLASS_, mozISandboxReport)

_MYCLASS_::_MYCLASS_()
{
  /* member initializers and constructor code */
}

_MYCLASS_::~_MYCLASS_()
{
  /* destructor code */
}

/* readonly attribute uint64_t msecAgo; */
NS_IMETHODIMP _MYCLASS_::GetMsecAgo(uint64_t *aMsecAgo)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute int32_t pid; */
NS_IMETHODIMP _MYCLASS_::GetPid(int32_t *aPid)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute int32_t tid; */
NS_IMETHODIMP _MYCLASS_::GetTid(int32_t *aTid)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute ACString procType; */
NS_IMETHODIMP _MYCLASS_::GetProcType(nsACString & aProcType)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute uint32_t syscall; */
NS_IMETHODIMP _MYCLASS_::GetSyscall(uint32_t *aSyscall)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute uint32_t numArgs; */
NS_IMETHODIMP _MYCLASS_::GetNumArgs(uint32_t *aNumArgs)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* ACString getArg (in uint32_t aIndex); */
NS_IMETHODIMP _MYCLASS_::GetArg(uint32_t aIndex, nsACString & _retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* End of implementation class template. */
#endif


/* starting interface:    mozISandboxReportArray */
#define MOZISANDBOXREPORTARRAY_IID_STR "6e8ff6e5-05c9-42d3-853d-40523fd86a50"

#define MOZISANDBOXREPORTARRAY_IID \
  {0x6e8ff6e5, 0x05c9, 0x42d3, \
    { 0x85, 0x3d, 0x40, 0x52, 0x3f, 0xd8, 0x6a, 0x50 }}

class NS_NO_VTABLE mozISandboxReportArray : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(MOZISANDBOXREPORTARRAY_IID)

  /* readonly attribute uint64_t begin; */
  NS_IMETHOD GetBegin(uint64_t *aBegin) = 0;

  /* readonly attribute uint64_t end; */
  NS_IMETHOD GetEnd(uint64_t *aEnd) = 0;

  /* mozISandboxReport getElement (in uint64_t aIndex); */
  NS_IMETHOD GetElement(uint64_t aIndex, mozISandboxReport * *_retval) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(mozISandboxReportArray, MOZISANDBOXREPORTARRAY_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_MOZISANDBOXREPORTARRAY \
  NS_IMETHOD GetBegin(uint64_t *aBegin) override; \
  NS_IMETHOD GetEnd(uint64_t *aEnd) override; \
  NS_IMETHOD GetElement(uint64_t aIndex, mozISandboxReport * *_retval) override; 

/* Use this macro when declaring the members of this interface when the
   class doesn't implement the interface. This is useful for forwarding. */
#define NS_DECL_NON_VIRTUAL_MOZISANDBOXREPORTARRAY \
  nsresult GetBegin(uint64_t *aBegin); \
  nsresult GetEnd(uint64_t *aEnd); \
  nsresult GetElement(uint64_t aIndex, mozISandboxReport * *_retval); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_MOZISANDBOXREPORTARRAY(_to) \
  NS_IMETHOD GetBegin(uint64_t *aBegin) override { return _to GetBegin(aBegin); } \
  NS_IMETHOD GetEnd(uint64_t *aEnd) override { return _to GetEnd(aEnd); } \
  NS_IMETHOD GetElement(uint64_t aIndex, mozISandboxReport * *_retval) override { return _to GetElement(aIndex, _retval); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_MOZISANDBOXREPORTARRAY(_to) \
  NS_IMETHOD GetBegin(uint64_t *aBegin) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetBegin(aBegin); } \
  NS_IMETHOD GetEnd(uint64_t *aEnd) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetEnd(aEnd); } \
  NS_IMETHOD GetElement(uint64_t aIndex, mozISandboxReport * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetElement(aIndex, _retval); } 

#if 0
/* Use the code below as a template for the implementation class for this interface. */

/* Header file */
class _MYCLASS_ : public mozISandboxReportArray
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_MOZISANDBOXREPORTARRAY

  _MYCLASS_();

private:
  ~_MYCLASS_();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS(_MYCLASS_, mozISandboxReportArray)

_MYCLASS_::_MYCLASS_()
{
  /* member initializers and constructor code */
}

_MYCLASS_::~_MYCLASS_()
{
  /* destructor code */
}

/* readonly attribute uint64_t begin; */
NS_IMETHODIMP _MYCLASS_::GetBegin(uint64_t *aBegin)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute uint64_t end; */
NS_IMETHODIMP _MYCLASS_::GetEnd(uint64_t *aEnd)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* mozISandboxReport getElement (in uint64_t aIndex); */
NS_IMETHODIMP _MYCLASS_::GetElement(uint64_t aIndex, mozISandboxReport * *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* End of implementation class template. */
#endif


/* starting interface:    mozISandboxReporter */
#define MOZISANDBOXREPORTER_IID_STR "8535bdf7-6d9e-4853-acf9-a146449c4a3b"

#define MOZISANDBOXREPORTER_IID \
  {0x8535bdf7, 0x6d9e, 0x4853, \
    { 0xac, 0xf9, 0xa1, 0x46, 0x44, 0x9c, 0x4a, 0x3b }}

class NS_NO_VTABLE mozISandboxReporter : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(MOZISANDBOXREPORTER_IID)

  /* mozISandboxReportArray snapshot (); */
  NS_IMETHOD Snapshot(mozISandboxReportArray * *_retval) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(mozISandboxReporter, MOZISANDBOXREPORTER_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_MOZISANDBOXREPORTER \
  NS_IMETHOD Snapshot(mozISandboxReportArray * *_retval) override; 

/* Use this macro when declaring the members of this interface when the
   class doesn't implement the interface. This is useful for forwarding. */
#define NS_DECL_NON_VIRTUAL_MOZISANDBOXREPORTER \
  nsresult Snapshot(mozISandboxReportArray * *_retval); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_MOZISANDBOXREPORTER(_to) \
  NS_IMETHOD Snapshot(mozISandboxReportArray * *_retval) override { return _to Snapshot(_retval); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_MOZISANDBOXREPORTER(_to) \
  NS_IMETHOD Snapshot(mozISandboxReportArray * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Snapshot(_retval); } 

#if 0
/* Use the code below as a template for the implementation class for this interface. */

/* Header file */
class _MYCLASS_ : public mozISandboxReporter
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_MOZISANDBOXREPORTER

  _MYCLASS_();

private:
  ~_MYCLASS_();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS(_MYCLASS_, mozISandboxReporter)

_MYCLASS_::_MYCLASS_()
{
  /* member initializers and constructor code */
}

_MYCLASS_::~_MYCLASS_()
{
  /* destructor code */
}

/* mozISandboxReportArray snapshot (); */
NS_IMETHODIMP _MYCLASS_::Snapshot(mozISandboxReportArray * *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* End of implementation class template. */
#endif


#define MOZ_SANDBOX_REPORTER_CID \
{0x5118a6f9, 0x2493, 0x4f97, {0x95, 0x52, 0x62, 0x06, 0x63, 0xe0, 0x3c, 0xb3}}
#define MOZ_SANDBOX_REPORTER_CONTRACTID \
    "@mozilla.org/sandbox/syscall-reporter;1"

#endif /* __gen_mozISandboxReporter_h__ */