diff options
author | ph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069> | 2014-10-12 15:45:05 +0000 |
---|---|---|
committer | ph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069> | 2014-10-12 15:45:05 +0000 |
commit | f25189be509e670d3aefc9339fa45683803185f8 (patch) | |
tree | 4dcde7c80d2a3dd58016a18669beab4578094371 /src/pcre2_internal.h | |
parent | 7ec57ec64b87520e01ff0d7493821c255d768408 (diff) | |
download | pcre2-f25189be509e670d3aefc9339fa45683803185f8.tar.gz |
Create PRIV(strcpy_c8) for copying config strings.
git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@107 6239d852-aaf2-0410-a92c-79f79f948069
Diffstat (limited to 'src/pcre2_internal.h')
-rw-r--r-- | src/pcre2_internal.h | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/src/pcre2_internal.h b/src/pcre2_internal.h index e54c5c4..bfea30c 100644 --- a/src/pcre2_internal.h +++ b/src/pcre2_internal.h @@ -1865,13 +1865,14 @@ is available. */ #define _pcre2_jit_get_size PCRE2_SUFFIX(_pcre2_jit_get_size_) #define _pcre2_memctl_malloc PCRE2_SUFFIX(_pcre2_memctl_malloc_) #define _pcre2_ord2utf PCRE2_SUFFIX(_pcre2_ord2utf_) -#define _pcre2_strcmp PCRE2_SUFFIX(_pcre_strcmp_) -#define _pcre2_strcmp_c8 PCRE2_SUFFIX(_pcre_strcmp_c8_) -#define _pcre2_strlen PCRE2_SUFFIX(_pcre_strlen_) -#define _pcre2_strncmp PCRE2_SUFFIX(_pcre_strncmp_) -#define _pcre2_strncmp_c8 PCRE2_SUFFIX(_pcre_strncmp_c8_) -#define _pcre2_study PCRE2_SUFFIX(_pcre_study_) -#define _pcre2_valid_utf PCRE2_SUFFIX(_pcre_valid_utf_) +#define _pcre2_strcmp PCRE2_SUFFIX(_pcre2_strcmp_) +#define _pcre2_strcmp_c8 PCRE2_SUFFIX(_pcre2_strcmp_c8_) +#define _pcre2_strcpy_c8 PCRE2_SUFFIX(_pcre2_strcpy_c8_) +#define _pcre2_strlen PCRE2_SUFFIX(_pcre2_strlen_) +#define _pcre2_strncmp PCRE2_SUFFIX(_pcre2_strncmp_) +#define _pcre2_strncmp_c8 PCRE2_SUFFIX(_pcre2_strncmp_c8_) +#define _pcre2_study PCRE2_SUFFIX(_pcre2_study_) +#define _pcre2_valid_utf PCRE2_SUFFIX(_pcre2_valid_utf_) #define _pcre2_was_newline PCRE2_SUFFIX(_pcre2_was_newline_) #define _pcre2_xclass PCRE2_SUFFIX(_pcre2_xclass_) @@ -1885,6 +1886,7 @@ extern void *_pcre2_memctl_malloc(size_t, pcre2_memctl *); extern unsigned int _pcre2_ord2utf(uint32_t, PCRE2_UCHAR *); extern int _pcre2_strcmp(PCRE2_SPTR, PCRE2_SPTR); extern int _pcre2_strcmp_c8(PCRE2_SPTR, const char *); +extern int _pcre2_strcpy_c8(PCRE2_UCHAR *, size_t, const char *); extern int _pcre2_strlen(PCRE2_SPTR); extern int _pcre2_strncmp(PCRE2_SPTR, PCRE2_SPTR, size_t); extern int _pcre2_strncmp_c8(PCRE2_SPTR, const char *, size_t); |