Created
July 11, 2018 19:53
-
-
Save sangfansh/1439a803558f63671a35b59168406786 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef ENCLAVE_U_H__ | |
#define ENCLAVE_U_H__ | |
#include <stdint.h> | |
#include <wchar.h> | |
#include <stddef.h> | |
#include <string.h> | |
#include "sgx_edger8r.h" /* for sgx_satus_t etc. */ | |
#include <stdlib.h> /* for size_t */ | |
#define SGX_CAST(type, item) ((type)(item)) | |
#ifdef __cplusplus | |
extern "C" { | |
#endif | |
void SGX_UBRIDGE(SGX_NOCONVENTION, ocall_print_string, (const char* str)); | |
sgx_status_t printf_helloworld(sgx_enclave_id_t eid); | |
#ifdef __cplusplus | |
} | |
#endif /* __cplusplus */ | |
#endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment