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

#ifndef PIPCClientCerts_h
#define PIPCClientCerts_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/psm/PSMIPCTypes.h"

namespace mozilla {
namespace psm {
class PIPCClientCertsParent;
} // namespace psm
} // namespace mozilla
namespace mozilla {
namespace psm {
class PIPCClientCertsChild;
} // namespace psm
} // namespace mozilla

//-----------------------------------------------------------------------------
// Code common to PIPCClientCertsChild and PIPCClientCertsParent
//
namespace mozilla {
namespace psm {
namespace PIPCClientCerts {

nsresult
CreateEndpoints(
        mozilla::ipc::EndpointProcInfo aParentDestInfo,
        mozilla::ipc::EndpointProcInfo aChildDestInfo,
        mozilla::ipc::Endpoint<::mozilla::psm::PIPCClientCertsParent>* aParent,
        mozilla::ipc::Endpoint<::mozilla::psm::PIPCClientCertsChild>* aChild);

nsresult
CreateEndpoints(
        mozilla::ipc::Endpoint<::mozilla::psm::PIPCClientCertsParent>* aParent,
        mozilla::ipc::Endpoint<::mozilla::psm::PIPCClientCertsChild>* aChild);

enum MessageType {
    PIPCClientCertsStart = PIPCClientCertsMsgStart << 16,
    Msg_FindObjects__ID,
    Reply_FindObjects__ID,
    Msg_Sign__ID,
    Reply_Sign__ID,
    Msg___delete____ID,
    Reply___delete____ID,
    PIPCClientCertsEnd
};

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

mozilla::UniquePtr<IPC::Message>
Msg_Sign(IPC::Message::routeid_t routingId);
mozilla::UniquePtr<IPC::Message>
Reply_Sign(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 PIPCClientCerts
} // namespace psm
} // namespace mozilla

#endif // ifndef PIPCClientCerts_h
