aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/e_sha1.h
blob: ce654167fe301be00267934ac8f8a6082e27aa2c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#ifdef E_TYPEDEFS

#else
#ifndef E_SHA1_H
#define E_SHA1_H

#ifndef E_API
# ifdef WIN32
#  ifdef BUILDING_DLL
#   define E_API __declspec(dllexport)
#  else
#   define E_API __declspec(dllimport)
#  endif
# else
#  ifdef __GNUC__
#   if __GNUC__ >= 4
/* BROKEN in gcc 4 on amd64 */
#if 0
#   pragma GCC visibility push(hidden)
#endif
#    define E_API __attribute__ ((visibility("default")))
#   else
#    define E_API
#   endif
#  else
#   define E_API
#  endif
# endif
#endif

E_API int e_sha1_sum(unsigned char *data, int size, unsigned char *dst);

#endif
#endif