Copy as Markdown

Other Tools

//
// Automatically generated by ipdlc.
// Edit at your own risk
//
#ifndef PNativeDNSResolverOverride_h
#define PNativeDNSResolverOverride_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"
namespace mozilla {
namespace net {
class PNativeDNSResolverOverrideParent;
} // namespace net
} // namespace mozilla
namespace mozilla {
namespace net {
class PNativeDNSResolverOverrideChild;
} // namespace net
} // namespace mozilla
//-----------------------------------------------------------------------------
// Code common to PNativeDNSResolverOverrideChild and PNativeDNSResolverOverrideParent
//
namespace mozilla {
namespace net {
namespace PNativeDNSResolverOverride {
nsresult
CreateEndpoints(
mozilla::ipc::EndpointProcInfo aParentDestInfo,
mozilla::ipc::EndpointProcInfo aChildDestInfo,
mozilla::ipc::Endpoint<::mozilla::net::PNativeDNSResolverOverrideParent>* aParent,
mozilla::ipc::Endpoint<::mozilla::net::PNativeDNSResolverOverrideChild>* aChild);
enum MessageType {
PNativeDNSResolverOverrideStart = PNativeDNSResolverOverrideMsgStart << 16,
Msg___delete____ID,
Reply___delete____ID,
Msg_AddIPOverride__ID,
Msg_AddHTTPSRecordOverride__ID,
Msg_SetCnameOverride__ID,
Msg_ClearHostOverride__ID,
Msg_ClearOverrides__ID,
PNativeDNSResolverOverrideEnd
};
mozilla::UniquePtr<IPC::Message>
Msg___delete__(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Reply___delete__(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_AddIPOverride(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_AddHTTPSRecordOverride(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_SetCnameOverride(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_ClearHostOverride(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_ClearOverrides(int32_t routingId);
} // namespace PNativeDNSResolverOverride
} // namespace net
} // namespace mozilla
#endif // ifndef PNativeDNSResolverOverride_h