Copy as Markdown
Other Tools
//
// Automatically generated by ipdlc.
// Edit at your own risk
//
#ifndef PTCPServerSocket_h
#define PTCPServerSocket_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 PTCPServerSocketParent;
} // namespace net
} // namespace mozilla
namespace mozilla {
namespace net {
class PTCPServerSocketChild;
} // namespace net
} // namespace mozilla
//-----------------------------------------------------------------------------
// Code common to PTCPServerSocketChild and PTCPServerSocketParent
//
namespace mozilla {
namespace net {
namespace PTCPServerSocket {
nsresult
CreateEndpoints(
mozilla::ipc::EndpointProcInfo aParentDestInfo,
mozilla::ipc::EndpointProcInfo aChildDestInfo,
mozilla::ipc::Endpoint<::mozilla::net::PTCPServerSocketParent>* aParent,
mozilla::ipc::Endpoint<::mozilla::net::PTCPServerSocketChild>* aChild);
enum MessageType {
PTCPServerSocketStart = PTCPServerSocketMsgStart << 16,
Msg_Close__ID,
Msg_RequestDelete__ID,
Msg_CallbackAccept__ID,
Msg___delete____ID,
Reply___delete____ID,
PTCPServerSocketEnd
};
mozilla::UniquePtr<IPC::Message>
Msg_Close(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_RequestDelete(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_CallbackAccept(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg___delete__(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Reply___delete__(int32_t routingId);
} // namespace PTCPServerSocket
} // namespace net
} // namespace mozilla
#endif // ifndef PTCPServerSocket_h