Ruby 2.0.0p353(2013-11-22revision43784)

- Main Page
- Modules
- Data Structures
- Files

- File List
- Globals

digest.h
Go to the documentation of this file.
1 /************************************************
2
3 digest.h - header file for ruby digest modules
4
5 $Author: akr $
6 created at: Fri May 25 08:54:56 JST 2001
7
8
9 Copyright (C) 2001-2006 Akinori MUSHA
10
11 $RoughId: digest.h,v 1.3 2001/07/13 15:38:27 knu Exp $
12 $Id: digest.h 25189 2009-10-02 12:04:37Z akr $
13
14 ************************************************/
15
16 #include "ruby.h"
17
18 #define RUBY_DIGEST_API_VERSION 2
19
20 typedef void (*rb_digest_hash_init_func_t)(void *);
21 typedef void (*rb_digest_hash_update_func_t)(void *, unsigned char *, size_t);
22 typedef void (*rb_digest_hash_finish_func_t)(void *, unsigned char *);
23
24 typedef struct {
25 int api_version;
26 size_t digest_len;
27 size_t block_len;
28 size_t ctx_size;
29 rb_digest_hash_init_func_t init_func;
30 rb_digest_hash_update_func_t update_func;
31 rb_digest_hash_finish_func_t finish_func;
32 } rb_digest_metadata_t;
rb_digest_metadata_t::update_func
rb_digest_hash_update_func_t update_func
Definition: digest.h:30
rb_digest_metadata_t::digest_len
size_t digest_len
Definition: digest.h:26
rb_digest_metadata_t::finish_func
rb_digest_hash_finish_func_t finish_func
Definition: digest.h:31
ruby.h
rb_digest_hash_finish_func_t
void(* rb_digest_hash_finish_func_t)(void *, unsigned char *)
Definition: digest.h:22
rb_digest_hash_update_func_t
void(* rb_digest_hash_update_func_t)(void *, unsigned char *, size_t)
Definition: digest.h:21
void
VP_EXPORT void
Definition: bigdecimal.c:5083
rb_digest_metadata_t::block_len
size_t block_len
Definition: digest.h:27
rb_digest_metadata_t::api_version
int api_version
Definition: digest.h:25
rb_digest_metadata_t::init_func
rb_digest_hash_init_func_t init_func
Definition: digest.h:29
rb_digest_metadata_t
Definition: digest.h:24
rb_digest_hash_init_func_t
void(* rb_digest_hash_init_func_t)(void *)
Definition: digest.h:20
rb_digest_metadata_t::ctx_size
size_t ctx_size
Definition: digest.h:28