summaryrefslogtreecommitdiffstats
path: root/src/libsystemd/sd-utf8/sd-utf8.c
blob: 82fa125aded2158310cda6ae51cc1ef078380584 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* SPDX-License-Identifier: LGPL-2.1-or-later */

#include "sd-utf8.h"

#include "utf8.h"
#include "util.h"

_public_ const char *sd_utf8_is_valid(const char *s) {
        assert_return(s, NULL);

        return utf8_is_valid(s);
}

_public_ const char *sd_ascii_is_valid(const char *s) {
        assert_return(s, NULL);

        return ascii_is_valid(s);
}