#include "precompiled.h"#include <stdio.h>#include <errno.h>#include <stdarg.h>#include "lib/secure_crt.h"Defines | |
| #define | tchar char |
| #define | T(string_literal) string_literal |
| #define | tnlen strnlen |
| #define | tncpy_s strncpy_s |
| #define | tcpy_s strcpy_s |
| #define | tncat_s strncat_s |
| #define | tcat_s strcat_s |
| #define | tcmp strcmp |
| #define | tcpy strcpy |
| #define | tvsnprintf vsnprintf |
| #define | tvsprintf_s vsprintf_s |
| #define | tsprintf_s sprintf_s |
| #define | ENFORCE(condition, err_to_warn, retval) |
| #define | WARN_IF_PTR_LEN(len) |
Functions | |
| STATUS_ADD_DEFINITIONS (secureCrtStatusDefinitions) | |
Variables | |
| static const StatusDefinition | secureCrtStatusDefinitions [] |
| #define ENFORCE | ( | condition, | |||
| err_to_warn, | |||||
| retval | ) |
STMT(\ if(!(condition)) \ { \ DEBUG_WARN_ERR(err_to_warn); \ return retval; \ } \ )
| #define T | ( | string_literal | ) | string_literal |
| #define tcat_s strcat_s |
| #define tchar char |
| #define tcmp strcmp |
| #define tcpy strcpy |
| #define tcpy_s strcpy_s |
| #define tncat_s strncat_s |
| #define tncpy_s strncpy_s |
| #define tnlen strnlen |
| #define tsprintf_s sprintf_s |
| #define tvsnprintf vsnprintf |
| #define tvsprintf_s vsprintf_s |
| #define WARN_IF_PTR_LEN | ( | len | ) |
| STATUS_ADD_DEFINITIONS | ( | secureCrtStatusDefinitions | ) |
const StatusDefinition secureCrtStatusDefinitions[] [static] |
{
{ ERR::STRING_NOT_TERMINATED, L"Invalid string (no 0 terminator found in buffer)" }
}
1.6.3