summaryrefslogtreecommitdiff
path: root/lib/stringprep.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/stringprep.h')
-rw-r--r--lib/stringprep.h9
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)