Common header files in the Secure Logger example

secure_logger_common.h

#ifndef SECURE_LOGGER_COMMON_H

#define SECURE_LOGGER_COMMON_H

#include <stdio.h>

#include <stdlib.h>

#include <stdint.h>

#define NK_USE_UNQUALIFIED_NAMES

#define MAX_MESSAGE_COUNT 10

/* Files required for transport initialization. */

#include <coresrv/nk/transport-kos.h>

#include <coresrv/sl/sl_api.h>

#include <stdbool.h>

#endif

secure_logger_common_secure.h

#ifndef SECURE_LOGGER_COMMON_SECURE_H

#define SECURE_LOGGER_COMMON_SECURE_H

#include "secure_logger_common.h"

static const char logPath[] = "/secure.log";

#endif

Page top