CCF
Loading...
Searching...
No Matches
interface.h
Go to the documentation of this file.
1// Copyright (c) Microsoft Corporation. All rights reserved.
2// Licensed under the Apache 2.0 License.
3#pragma once
4
5#include "ds/oversized.h"
7
8#include <chrono>
9#include <vector>
10
32
33DECLARE_RINGBUFFER_MESSAGE_PAYLOAD(AdminMessage::fatal_error_msg, std::string);
35DECLARE_RINGBUFFER_MESSAGE_NO_PAYLOAD(AdminMessage::stop_notice);
38DECLARE_RINGBUFFER_MESSAGE_PAYLOAD(AdminMessage::work_stats, std::string);
39
42{
44 DEFINE_RINGBUFFER_MSG_TYPE(launch_host_process)
45};
46
48 AppMessage::launch_host_process, std::string, std::vector<uint8_t>);
49
51{
52 std::vector<std::string> args;
53};
54
AppMessage
Messages sent from app endpoints.
Definition interface.h:42
AdminMessage
General administrative messages.
Definition interface.h:13
@ DEFINE_RINGBUFFER_MSG_TYPE
Fatal error message. Enclave -> Host.
Definition interface.h:15
#define DECLARE_JSON_REQUIRED_FIELDS(TYPE,...)
Definition json.h:714
#define DECLARE_JSON_TYPE(TYPE)
Definition json.h:663
uint32_t Message
Definition ring_buffer_types.h:19
#define DECLARE_RINGBUFFER_MESSAGE_PAYLOAD(MTYPE,...)
Definition ring_buffer_types.h:179
#define DECLARE_RINGBUFFER_MESSAGE_NO_PAYLOAD(MTYPE)
Definition ring_buffer_types.h:173
Definition interface.h:51
std::vector< std::string > args
Definition interface.h:52