Macros
sbgCommon.h File Reference

Main header file for SBG Systems common C library. More...

#include "sbgConfig.h"
#include "sbgTypes.h"
#include "sbgErrorCodes.h"
#include "sbgDefines.h"
#include "sbgDebug.h"
#include "sbgPlatform.h"
Include dependency graph for sbgCommon.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define SBG_CONFIG_ENABLE_LOG_DEBUG   (1)
 
#define SBG_CONFIG_LOG_MAX_SIZE   (size_t)(1024)
 
#define SBG_CONFIG_PATH_MAX_SIZE   (size_t)(256)
 

Detailed Description

Main header file for SBG Systems common C library.

Author
SBG Systems (Raphael Siryani)
Date
17 March 2015

All files / projects that would like to use the SBG Systems common C library should include this file.

Be aware that this file doesn't include SBG Systems common C library components but just defines all types and environments such as error logging.

Copyright Notice

Copyright (C) 2007-2015, SBG Systems SAS. All rights reserved.

This source code is intended for use only by SBG Systems SAS and those that have explicit written permission to use it from SBG Systems SAS.

THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.

Definition in file sbgCommon.h.

Macro Definition Documentation

◆ SBG_CONFIG_ENABLE_LOG_DEBUG

#define SBG_CONFIG_ENABLE_LOG_DEBUG   (1)

If set to 0, the platform support only aligned memory access. If set to 1, the platform support unaligned memory access. Default: Support only Aligned access - Disabled

If set to 0, the platform is using little endian. If set to 1, the platform is using big endian. Default: Little Endian - Disabled

If set to 1, error logs level will be thrown. Default: Enabled

If set to 1, warning logs level will be thrown. Default: Enabled

If set to 1, information logs level will be thrown. Default: Enabled

If set to 1, debug logs level will be thrown. Default: Enabled

Definition at line 93 of file sbgCommon.h.

◆ SBG_CONFIG_LOG_MAX_SIZE

#define SBG_CONFIG_LOG_MAX_SIZE   (size_t)(1024)

Maximum error message size in bytes that can be generated including the NULL Char. Default: 1024

Definition at line 101 of file sbgCommon.h.

◆ SBG_CONFIG_PATH_MAX_SIZE

#define SBG_CONFIG_PATH_MAX_SIZE   (size_t)(256)

Maximum number of chars for a file name including the NULL char. Default: 256

Definition at line 113 of file sbgCommon.h.



sbg_driver
Author(s): SBG Systems
autogenerated on Sat Sep 3 2022 02:53:36