GDAL

cpl_md5.h
1/* See md5.cpp for explanation and copyright information. */
2
3#ifndef CPL_MD5_H
4#define CPL_MD5_H
5
6#include "cpl_port.h"
7
8 CPL_C_START
9 const char CPL_DLL *CPLMD5String(const char *pszText);
10 CPL_C_END
11
12#ifndef DOXYGEN_SKIP
13
14 struct CPLMD5Context
15{
16 GUInt32 buf[4];
17 GUInt32 bits[2];
18 unsigned char in[64];
19};
20
21 void CPL_DLL CPLMD5Init(struct CPLMD5Context *context);
22 void CPL_DLL CPLMD5Update(struct CPLMD5Context *context, const void *buf,
23 size_t len);
24 void CPL_DLL CPLMD5Final(unsigned char digest[16],
25 struct CPLMD5Context *context);
26 void CPLMD5Transform(GUInt32 buf[4], const unsigned char inraw[64]);
27
28#endif // #ifndef DOXYGEN_SKIP
29
30#endif /* !CPL_MD5_H */
cpl_port.h
Core portability definitions for CPL.
CPL_C_END
#define CPL_C_END
Macro to end a block of C symbols.
Definition cpl_port.h:283
CPL_C_START
#define CPL_C_START
Macro to start a block of C symbols.
Definition cpl_port.h:279
GUInt32
unsigned int GUInt32
Unsigned int32 type.
Definition cpl_port.h:161