From 86d1be3081c1b50e8eeae67d6f80a9c44a7949df Mon Sep 17 00:00:00 2001 From: Simon Josefsson Date: Fri, 17 Oct 2003 23:39:22 +0000 Subject: [PATCH] (struct Stringprep_table, struct Stringprep_profiles): Use 'const'. (stringprep_4i, stringprep_4zi, stringprep, stringprep_profile): Likewise. --- lib/stringprep.h.in | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/stringprep.h.in b/lib/stringprep.h.in index 8d7432f..6b38a29 100644 --- a/lib/stringprep.h.in +++ b/lib/stringprep.h.in @@ -88,14 +88,14 @@ extern "C" { Stringprep_profile_steps operation; Stringprep_profile_flags flags; - Stringprep_table_element *table; + const Stringprep_table_element *table; }; typedef struct Stringprep_table Stringprep_profile; struct Stringprep_profiles { char *name; - Stringprep_profile *tables; + const Stringprep_profile *tables; }; typedef struct Stringprep_profiles Stringprep_profiles; @@ -168,17 +168,17 @@ extern "C" extern int stringprep_4i (uint32_t * ucs4, size_t * len, size_t maxucs4len, Stringprep_profile_flags flags, - Stringprep_profile * profile); + const Stringprep_profile * profile); extern int stringprep_4zi (uint32_t * ucs4, size_t maxucs4len, Stringprep_profile_flags flags, - Stringprep_profile * profile); + const Stringprep_profile * profile); extern int stringprep (char *in, size_t maxlen, Stringprep_profile_flags flags, - Stringprep_profile * profile); + const Stringprep_profile * profile); extern int stringprep_profile (const char *in, char **out, - char *profile, + const char *profile, Stringprep_profile_flags flags); extern const char *stringprep_check_version (const char *req_version); -- 2.11.4.GIT