mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-05-29 21:37:54 -04:00
module-avb: add UTF-8 validation function
This commit is contained in:
parent
6a0c0d45ff
commit
b47c07b9cd
3 changed files with 91 additions and 0 deletions
12
src/modules/module-avb/strings.h
Normal file
12
src/modules/module-avb/strings.h
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
/* SPDX-FileCopyrightText: Copyright © 2026 Nils Tonnaett*/
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
|
||||
#ifndef AVB_STRINGS_H
|
||||
#define AVB_STRINGS_H
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
int validate_utf8(uint8_t *str, size_t len);
|
||||
|
||||
#endif /* AVB_STRINGS_H */
|
||||
Loading…
Add table
Add a link
Reference in a new issue