//
// Automatically generated by ipdlc.
// Edit at your own risk
//

#ifndef PAltService_h
#define PAltService_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/NeckoChannelParams.h"

namespace mozilla {
namespace net {
class PAltServiceParent;
} // namespace net
} // namespace mozilla
namespace mozilla {
namespace net {
class PAltServiceChild;
} // namespace net
} // namespace mozilla

//-----------------------------------------------------------------------------
// Code common to PAltServiceChild and PAltServiceParent
//
namespace mozilla {
namespace net {
namespace PAltService {

nsresult
CreateEndpoints(
        mozilla::ipc::EndpointProcInfo aParentDestInfo,
        mozilla::ipc::EndpointProcInfo aChildDestInfo,
        mozilla::ipc::Endpoint<::mozilla::net::PAltServiceParent>* aParent,
        mozilla::ipc::Endpoint<::mozilla::net::PAltServiceChild>* aChild);

enum MessageType {
    PAltServiceStart = PAltServiceMsgStart << 16,
    Msg_ClearHostMapping__ID,
    Msg_ProcessHeader__ID,
    Msg___delete____ID,
    Reply___delete____ID,
    PAltServiceEnd
};

mozilla::UniquePtr<IPC::Message>
Msg_ClearHostMapping(IPC::Message::routeid_t routingId);

mozilla::UniquePtr<IPC::Message>
Msg_ProcessHeader(IPC::Message::routeid_t routingId);

mozilla::UniquePtr<IPC::Message>
Msg___delete__(IPC::Message::routeid_t routingId);
mozilla::UniquePtr<IPC::Message>
Reply___delete__(IPC::Message::routeid_t routingId);



} // namespace PAltService
} // namespace net
} // namespace mozilla

#endif // ifndef PAltService_h
