linux/fs/unicode/utf8-core.c

/* SPDX-License-Identifier: GPL-2.0 */
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/string.h>
#include <linux/slab.h>
#include <linux/parser.h>
#include <linux/errno.h>
#include <linux/stringhash.h>

#include "utf8n.h"

int utf8_validate(const struct unicode_map *um, const struct qstr *str)
{}
EXPORT_SYMBOL();

int utf8_strncmp(const struct unicode_map *um,
		 const struct qstr *s1, const struct qstr *s2)
{}
EXPORT_SYMBOL();

int utf8_strncasecmp(const struct unicode_map *um,
		     const struct qstr *s1, const struct qstr *s2)
{}
EXPORT_SYMBOL();

/* String cf is expected to be a valid UTF-8 casefolded
 * string.
 */
int utf8_strncasecmp_folded(const struct unicode_map *um,
			    const struct qstr *cf,
			    const struct qstr *s1)
{}
EXPORT_SYMBOL();

int utf8_casefold(const struct unicode_map *um, const struct qstr *str,
		  unsigned char *dest, size_t dlen)
{}
EXPORT_SYMBOL();

int utf8_casefold_hash(const struct unicode_map *um, const void *salt,
		       struct qstr *str)
{}
EXPORT_SYMBOL();

int utf8_normalize(const struct unicode_map *um, const struct qstr *str,
		   unsigned char *dest, size_t dlen)
{}
EXPORT_SYMBOL();

static const struct utf8data *find_table_version(const struct utf8data *table,
		size_t nr_entries, unsigned int version)
{}

struct unicode_map *utf8_load(unsigned int version)
{}
EXPORT_SYMBOL();

void utf8_unload(struct unicode_map *um)
{}
EXPORT_SYMBOL();