stringprep_4zi(3) libidn stringprep_4zi(3) NNAAMMEE stringprep_4zi - API function SSYYNNOOPPSSIISS ##iinncclluuddee <> iinntt ssttrriinnggpprreepp__44zzii((uuiinntt3322__tt ** _u_c_s_4,, ssiizzee__tt _m_a_x_u_c_s_4_l_e_n,, SSttrriinnggpprreepp__pprroo-- ffiillee__ffllaaggss _f_l_a_g_s,, ccoonnsstt SSttrriinnggpprreepp__pprrooffiillee ** _p_r_o_f_i_l_e));; AARRGGUUMMEENNTTSS uint32_t * ucs4 input/output array with zero terminated string to prepare. size_t maxucs4len maximum length of input/output array. Stringprep_profile_flags flags a SSttrriinnggpprreepp__pprrooffiillee__ffllaaggss value, or 0. const Stringprep_profile * profile pointer to SSttrriinnggpprreepp__pprrooffiillee to use. DDEESSCCRRIIPPTTIIOONN Prepare the input zero terminated UCS-4 string according to the string- prep profile, and write back the result to the input string. Since the stringprep operation can expand the string, _m_a_x_u_c_s_4_l_e_n indi- cate how large the buffer holding the string is. This function will not read or write to code points outside that size. The _f_l_a_g_s are one of SSttrriinnggpprreepp__pprrooffiillee__ffllaaggss values, or 0. The _p_r_o_f_i_l_e contain the SSttrriinnggpprreepp__pprrooffiillee instructions to perform. Your application can define new profiles, possibly re-using the generic stringprep tables that always will be part of the library, or use one of the currently supported profiles. Return value: Returns SSTTRRIINNGGPPRREEPP__OOKK iff successful, or an SSttrriinnggpprreepp__rrcc error code. RREEPPOORRTTIINNGG BBUUGGSS Report bugs to . General guidelines for reporting bugs: http://www.gnu.org/gethelp/ GNU Libidn home page: http://www.gnu.org/software/libidn/ CCOOPPYYRRIIGGHHTT Copyright (C) 2002-2021 Simon Josefsson. Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. SSEEEE AALLSSOO The full documentation for lliibbiiddnn is maintained as a Texinfo manual. If the iinnffoo and lliibbiiddnn programs are properly installed at your site, the command iinnffoo lliibbiiddnn should give you access to the complete manual. As an alternative you may obtain the manual from: hhttttpp::////wwwwww..ggnnuu..oorrgg//ssooffttwwaarree//lliibbiiddnn//mmaannuuaall// libidn 1.38 stringprep_4zi(3)