diff options
author | Werner Koch <[email protected]> | 2006-08-01 12:23:34 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2006-08-01 12:23:34 +0000 |
commit | 8c219602515ae1dba5bc0da31077852dab61809e (patch) | |
tree | 49d596d702cfec2b8cc42ccaf8c90c82d5200ac5 /jnlib/utf8conv.h | |
parent | Forgot this one. (diff) | |
parent | 2006-07-29 Marcus Brinkmann <[email protected]> (diff) | |
download | gnupg-8c219602515ae1dba5bc0da31077852dab61809e.tar.gz gnupg-8c219602515ae1dba5bc0da31077852dab61809e.zip |
Moved 1.9 branch to trunk
Diffstat (limited to '')
-rw-r--r-- | jnlib/utf8conv.h (renamed from cipher/rmd.h) | 24 |
1 files changed, 10 insertions, 14 deletions
diff --git a/cipher/rmd.h b/jnlib/utf8conv.h index 1313bb78b..344c47f92 100644 --- a/cipher/rmd.h +++ b/jnlib/utf8conv.h @@ -1,5 +1,5 @@ -/* rmd.h - RIPE-MD hash functions - * Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc. +/* utf8conf.h + * Copyright (C) 2003 Free Software Foundation, Inc. * * This file is part of GnuPG. * @@ -18,19 +18,15 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, * USA. */ -#ifndef G10_RMD_H -#define G10_RMD_H +#ifndef LIBJNLIB_UTF8CONF_H +#define LIBJNLIB_UTF8CONF_H -/* we need this here because random.c must have direct access */ -typedef struct { - u32 h0,h1,h2,h3,h4; - u32 nblocks; - byte buf[64]; - int count; -} RMD160_CONTEXT; +int set_native_charset (const char *newset); +const char *get_native_charset (void); -void rmd160_init( RMD160_CONTEXT *hd ); -void rmd160_mixblock( RMD160_CONTEXT *hd, char *buffer ); +char *native_to_utf8 (const char *string); +char *utf8_to_native (const char *string, size_t length, int delim); -#endif /*G10_RMD_H*/ + +#endif /*LIBJNLIB_UTF8CONF_H*/ |