TA-REF
config_ref_ta.h File Reference
#include <string.h>
#include <stdio.h>
#include "edger/Enclave_t.h"
#include "tee-ta-internal.h"
#include "trace.h"
#include "assert.h"
+ Include dependency graph for config_ref_ta.h:

Go to the source code of this file.

Macros

#define GP_ASSERT(rv, msg)
 

Functions

int tee_printf (const char *fmt,...)
 

Macro Definition Documentation

◆ GP_ASSERT

#define GP_ASSERT (   rv,
  msg 
)

Function Documentation

◆ tee_printf()

int tee_printf ( const char *  fmt,
  ... 
)

tee_printf() - For trace GP API.

Initializes ap variable. Formats data under control of the format control string and stores the result in buf and ends the processing of ap. Finally prints the buffer value.

Parameters
fmtfmt is constant character argument of type pointer.
Returns
res Based on the condition check it will return string length else returns 0.

tee_printf() - For tracing GP API.

Initializes ap variable. Formats data under control of the format control string and stores the result in buf and ends the processing of ap. Finally print the buffer value.

Parameters
fmtfmt is a constant character argument of type pointer.
Returns
buffer If successfully executed, else error occured.