summaryrefslogtreecommitdiff
path: root/src/bin/e_sha1.h
blob: 2f5ad6950ccbba270bcc27ca46dc461054d51994 (plain)
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 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 */
#if 0
#   pragma GCC visibility push(hidden)
#endif
#    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