1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- #ifndef _SGX_URTS_H_
- #define _SGX_URTS_H_
- #include "sgx_attributes.h"
- #include "sgx_error.h"
- #include "sgx_eid.h"
- #include "sgx_defs.h"
- #include "sgx_key.h"
- #ifdef __cplusplus
- extern "C" {
- #endif
- typedef uint8_t sgx_launch_token_t[1024];
- #if !defined(NDEBUG) || defined(EDEBUG)
- #define SGX_DEBUG_FLAG ((int)1)
- #else
- #define SGX_DEBUG_FLAG ((int)0)
- #endif
- sgx_status_t SGXAPI sgx_create_enclave(const char *file_name, const int debug, sgx_launch_token_t *launch_token, int *launch_token_updated, sgx_enclave_id_t *enclave_id, sgx_misc_attribute_t *misc_attr);
- sgx_status_t SGXAPI sgx_destroy_enclave(const sgx_enclave_id_t enclave_id);
- #ifdef __cplusplus
- }
- #endif
- #endif
|