rendered paste bodyIndex: hasher.h
===================================================================
--- hasher.h (revision 25)
+++ hasher.h (working copy)
@@ -26,11 +26,18 @@
#ifndef _HASHER_H
#define _HASHER_H
+#ifdef __cplusplus
+ extern "C" {
+#endif
+
void GenerateHash(short version_major,
const unsigned char *url, unsigned char hashSelect,
unsigned char *outhash,
int request_id);
+#ifdef __cplusplus
+ }
+#endif
#endif /* _HASHER_H */
Index: Makefile.am
===================================================================
--- Makefile.am (revision 25)
+++ Makefile.am (working copy)
@@ -5,7 +5,7 @@
libauthentication_la_SOURCES = contentfetcher.cpp md5.c hasher.c
-libauthentication_la_LDADD = \
+libauthentication_la_LIBADD = \
$(LIB_QT) \
$(LIB_KDECORE) \
$(LIB_KDEUI)