HEX
Server: Apache/2
System: Linux nexus-01 4.18.0-553.120.1.el8_10.x86_64 #1 SMP Mon Apr 20 18:04:27 EDT 2026 x86_64
User: aglcoke (1118)
PHP: 8.2.31
Disabled: mail,exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: //usr/include/dovecot/unicode-break.h
#ifndef UNICODE_BREAK_H
#define UNICODE_BREAK_H

struct unicode_code_point_data;

/*
 * Grapheme Cluster Boundaries (Unicode Standard Annex #29, Section 3)
 */

struct unicode_gc_break {
	unsigned int gb9c;
	unsigned int gb11;
	bool gb1:1;
	bool gb3:1;
	bool gb4:1;
	bool gb6:1;
	bool gb7:1;
	bool gb8:1;
	bool gb9b:1;
	bool gb12:1;
};

void unicode_gc_break_init(struct unicode_gc_break *gcbrk);

/* Returns TRUE if a grapheme boundary exists before the codepoint provided in
   cp. Any code point data for cp that was looked up earlier can be provided in
   the _cp_data pointer, or if it was NULL it can be retrieved there after the
   call.
 */
bool unicode_gc_break_cp(struct unicode_gc_break *gcbrk, uint32_t cp,
			 const struct unicode_code_point_data **_cp_data);

#endif