Copy as Markdown
Other Tools
//
// Automatically generated by ipdlc.
// Edit at your own risk
//
#ifndef PDNSRequest_h
#define PDNSRequest_h
#include "mozilla/Attributes.h"
#include "IPCMessageStart.h"
#include "mozilla/RefPtr.h"
#include "nsString.h"
#include "nsTArray.h"
#include "nsTHashtable.h"
#include "mozilla/MozPromise.h"
#include "mozilla/OperatorNewExtensions.h"
#include "mozilla/UniquePtr.h"
#include "mozilla/ipc/ByteBuf.h"
#include "mozilla/ipc/FileDescriptor.h"
#include "mozilla/ipc/IPCForwards.h"
#include "mozilla/ipc/Shmem.h"
#include "mozilla/net/PDNSRequestParams.h"
namespace mozilla {
namespace net {
class PDNSRequestParent;
} // namespace net
} // namespace mozilla
namespace mozilla {
namespace net {
class PDNSRequestChild;
} // namespace net
} // namespace mozilla
//-----------------------------------------------------------------------------
// Code common to PDNSRequestChild and PDNSRequestParent
//
namespace mozilla {
namespace net {
namespace PDNSRequest {
nsresult
CreateEndpoints(
mozilla::ipc::EndpointProcInfo aParentDestInfo,
mozilla::ipc::EndpointProcInfo aChildDestInfo,
mozilla::ipc::Endpoint<::mozilla::net::PDNSRequestParent>* aParent,
mozilla::ipc::Endpoint<::mozilla::net::PDNSRequestChild>* aChild);
enum MessageType {
PDNSRequestStart = PDNSRequestMsgStart << 16,
Msg_CancelDNSRequest__ID,
Msg___delete____ID,
Reply___delete____ID,
Msg_LookupCompleted__ID,
PDNSRequestEnd
};
mozilla::UniquePtr<IPC::Message>
Msg_CancelDNSRequest(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg___delete__(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Reply___delete__(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_LookupCompleted(int32_t routingId);
} // namespace PDNSRequest
} // namespace net
} // namespace mozilla
#endif // ifndef PDNSRequest_h