~ubuntu-branches/ubuntu/vivid/cctools/vivid

« back to all changes in this revision

Viewing changes to dttools/src/sha1.h

  • Committer: Package Import Robot
  • Author(s): Michael Hanke
  • Date: 2012-03-30 12:40:01 UTC
  • mfrom: (9.1.2 sid)
  • Revision ID: package-import@ubuntu.com-20120330124001-ze0lhxm5uwq2e3mo
Tags: 3.4.2-2
Added patch to handle a missing CFLAGS variable in Python's sysconfig
report (Closes: #661658).

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
Routines for computing SHA1 checksums.
12
12
*/
13
13
 
 
14
/* When linking with libcvmfs, we have a name clash with functions of similar purpose.  Redefine the names here to protect our namespace. */
 
15
 
 
16
#define sha1_init    dttools_sha1_init
 
17
#define sha1_update  dttools_sha1_update
 
18
#define sha1_final   dttools_sha1_final
 
19
#define sha1_buffer  dttools_sha1_buffer
 
20
#define sha1_file    dttools_sha1_file
 
21
#define sha1_string  dttools_sha1_string
 
22
 
14
23
#include "int_sizes.h"
15
24
 
16
25
#define SHA1_DIGEST_LENGTH 20