diff options
author | Seonah Moon <seonah1.moon@samsung.com> | 2021-02-04 10:08:28 +0900 |
---|---|---|
committer | Seonah Moon <seonah1.moon@samsung.com> | 2021-02-04 10:08:57 +0900 |
commit | 99a33f08e5808e9b4ea40f9ba0d717196b2ef090 (patch) | |
tree | cc6d986a1f22e98bfcd987e83778d829f1dbecde /lib/stringprep.h | |
parent | 40d523a658c1a2e2311f0d588a96cbfb7eded09f (diff) | |
download | libidn-upstream.tar.gz libidn-upstream.tar.bz2 libidn-upstream.zip |
Imported Upstream version 1.23upstream/1.23upstream
Change-Id: Icfaf3a8b6a8c778e14a771acd595696cdbded864
Diffstat (limited to 'lib/stringprep.h')
-rw-r--r-- | lib/stringprep.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/stringprep.h b/lib/stringprep.h index bb3c71f..34835e4 100644 --- a/lib/stringprep.h +++ b/lib/stringprep.h @@ -1,5 +1,6 @@ /* stringprep.h --- Header file for stringprep functions. - * Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Simon Josefsson + * Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, + * 2011 Simon Josefsson * * This file is part of GNU Libidn. * @@ -35,7 +36,7 @@ # endif # include <stddef.h> /* size_t */ -# include <unistd.h> /* ssize_t */ +# include <sys/types.h> /* ssize_t */ # include <idn-int.h> /* uint32_t */ # ifdef __cplusplus @@ -43,7 +44,7 @@ extern "C" { # endif -# define STRINGPREP_VERSION "1.15" +# define STRINGPREP_VERSION "1.23" /* Error codes. */ typedef enum @@ -145,6 +146,7 @@ extern "C" /* SASL */ extern IDNAPI const Stringprep_profile stringprep_saslprep[]; + extern IDNAPI const Stringprep_table_element stringprep_saslprep_space_map[]; extern IDNAPI const Stringprep_profile stringprep_plain[]; extern IDNAPI const Stringprep_profile stringprep_trace[]; @@ -172,6 +174,7 @@ extern "C" /* iSCSI */ extern IDNAPI const Stringprep_profile stringprep_iscsi[]; + extern IDNAPI const Stringprep_table_element stringprep_iscsi_prohibit[]; # define stringprep_iscsi(in, maxlen) \ stringprep(in, maxlen, 0, stringprep_iscsi) |