36 lines
610 B
C
36 lines
610 B
C
/*
|
|
* vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
|
|
*/
|
|
#ifdef E_TYPEDEFS
|
|
|
|
#else
|
|
#ifndef E_SHA1_H
|
|
#define E_SHA1_H
|
|
|
|
#ifndef EAPI
|
|
# ifdef WIN32
|
|
# ifdef BUILDING_DLL
|
|
# define EAPI __declspec(dllexport)
|
|
# else
|
|
# define EAPI __declspec(dllimport)
|
|
# endif
|
|
# else
|
|
# ifdef __GNUC__
|
|
# if __GNUC__ >= 4
|
|
// BROKEN in gcc 4 on amd64
|
|
//# pragma GCC visibility push(hidden)
|
|
# define EAPI __attribute__ ((visibility("default")))
|
|
# else
|
|
# define EAPI
|
|
# endif
|
|
# else
|
|
# define EAPI
|
|
# endif
|
|
# endif
|
|
#endif
|
|
|
|
EAPI int e_sha1_sum(unsigned char *data, int size, unsigned char *dst);
|
|
|
|
#endif
|
|
#endif
|