summaryrefslogtreecommitdiff
path: root/lib/md5.h
diff options
context:
space:
mode:
authorjbj <devnull@localhost>1999-05-05 13:25:25 +0000
committerjbj <devnull@localhost>1999-05-05 13:25:25 +0000
commit8b7923f6bc11107d441a8edb6a08c81ab66c3cd6 (patch)
tree8ecf2ab254e742de3784fc8c10060257bff389dc /lib/md5.h
parent05d3980fa413c89babe2a59221bd81804b6e6834 (diff)
downloadlibrpm-tizen-8b7923f6bc11107d441a8edb6a08c81ab66c3cd6.tar.gz
librpm-tizen-8b7923f6bc11107d441a8edb6a08c81ab66c3cd6.tar.bz2
librpm-tizen-8b7923f6bc11107d441a8edb6a08c81ab66c3cd6.zip
add rpm prefix to MD5 routines to avoid name conflict on solaris.
CVS patchset: 3049 CVS date: 1999/05/05 13:25:25
Diffstat (limited to 'lib/md5.h')
-rw-r--r--lib/md5.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/md5.h b/lib/md5.h
index 203c1f577..cebc07360 100644
--- a/lib/md5.h
+++ b/lib/md5.h
@@ -14,11 +14,11 @@ struct MD5Context {
int doByteReverse;
};
-void MD5Init(struct MD5Context *context, int brokenEndian);
-void MD5Update(struct MD5Context *context, unsigned char const *buf,
+void rpmMD5Init(struct MD5Context *context, int brokenEndian);
+void rpmMD5Update(struct MD5Context *context, unsigned char const *buf,
unsigned len);
-void MD5Final(unsigned char digest[16], struct MD5Context *context);
-void MD5Transform(uint32 buf[4], uint32 const in[16]);
+void rpmMD5Final(unsigned char digest[16], struct MD5Context *context);
+void rpmMD5Transform(uint32 buf[4], uint32 const in[16]);
int mdfile(const char *fn, unsigned char *digest);
int mdbinfile(const char *fn, unsigned char *bindigest);