~ubuntu-branches/ubuntu/trusty/ruby1.9/trusty

« back to all changes in this revision

Viewing changes to ext/digest/digest.h

  • Committer: Bazaar Package Importer
  • Author(s): Lucas Nussbaum
  • Date: 2006-05-08 22:23:12 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20060508222312-w2wqeaz030ifi59j
Tags: 1.9.0+20060423-3ubuntu1
* Resynchronized with Debian.
* Only change from Debian is the addition of
  debian/patches/903_sparc_fix_define.patch to fix illegal instructions
  at runtime on sparc. (change from 1.9.0+20050921-1ubuntu1)

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 
3
3
  digest.c -
4
4
 
5
 
  $Author: knu $
 
5
  $Author: matz $
6
6
  created at: Fri May 25 08:54:56 JST 2001
7
7
 
8
8
 
9
9
  Copyright (C) 2001 Akinori MUSHA
10
10
 
11
11
  $RoughId: digest.h,v 1.3 2001/07/13 15:38:27 knu Exp $
12
 
  $Id: digest.h,v 1.1 2001/07/13 20:06:13 knu Exp $
 
12
  $Id: digest.h,v 1.2 2005/12/12 00:35:08 matz Exp $
13
13
 
14
14
************************************************/
15
15
 
16
16
#include "ruby.h"
17
17
 
18
 
typedef void (*hash_init_func_t) _((void *));
19
 
typedef void (*hash_update_func_t) _((void *, unsigned char *, size_t));
20
 
typedef void (*hash_end_func_t) _((void *, unsigned char *));
21
 
typedef void (*hash_final_func_t) _((unsigned char *, void *));
22
 
typedef int (*hash_equal_func_t) _((void *, void *));
 
18
typedef void (*hash_init_func_t)(void *);
 
19
typedef void (*hash_update_func_t)(void *, unsigned char *, size_t);
 
20
typedef void (*hash_end_func_t)(void *, unsigned char *);
 
21
typedef void (*hash_final_func_t)(unsigned char *, void *);
 
22
typedef int (*hash_equal_func_t)(void *, void *);
23
23
 
24
24
typedef struct {
25
25
    size_t digest_len;