Unify Framework Lib 1.6.0
unify_validator.h
Go to the documentation of this file.
1/******************************************************************************
2 * # License
3 * <b>Copyright 2021 Silicon Laboratories Inc. www.silabs.com</b>
4 ******************************************************************************
5 * The licensor of this software is Silicon Laboratories Inc. Your use of this
6 * software is governed by the terms of Silicon Labs Master Software License
7 * Agreement (MSLA) available at
8 * www.silabs.com/about-us/legal/master-software-license-agreement. This
9 * software is distributed to you in Source Code format and is governed by the
10 * sections of the MSLA applicable to Source Code.
11 *
12 *****************************************************************************/
13
24#ifndef UIC_VALIDATOR_H
25#define UIC_VALIDATOR_H
26
27#include <stdbool.h>
28
29#ifdef __cplusplus
30extern "C" {
31#endif
32
39
47bool validator_validate_unid(const char *value);
48
49#ifdef __cplusplus
50}
51#endif
52
53#endif // UIC_VALIDATOR_H
bool validator_validate_unid(const char *value)
Validates UNID It should contain at least one digit or letter (either upper or lower case)....
bool validator_validate_string_contains_letter_or_digit(const char *value)
Validates that string contains at least one digit or letter (either upper or lower case).