PLCnext API Documentation 25.0.2.69
SecureString.h
1
2//
3// Copyright Phoenix Contact GmbH & Co. KG
4//
6#pragma once
7
8#ifndef ARP_USE_ARP_SYSTEM_CORE
9
10#include "Arp/Base/Core/SecureString.hpp"
11
12#else
13
14#include <cstddef>
15
16namespace Arp
17{
18
24bool SecureStrIsNullOrEmpty(const char* str, size_t maxSize);
25
31size_t SecureStrnlen(const char* str, size_t maxSize);
32
38void SecureStrcpy(char* dest, size_t destMaxSize, const char* src);
39
46void SecureStrncpy(char* dest, size_t destMaxSize, const char* src, size_t count);
47
48} // end of namespace Arp
49
50#endif // ndef ARP_USE_ARP_SYSTEM_CORE
Root namespace for the PLCnext API