~ubuntu-core-dev/update-notifier/ubuntu

« back to all changes in this revision

Viewing changes to src/md5.h

  • Committer: mvo
  • Date: 2005-02-08 00:25:09 UTC
  • Revision ID: gustavo@niemeyer.net-20050208002509-a211f90ce9367f80
* cleanups:
  - configure.in: no longer need libglade
  - src/update-notifier{c,h}: we no longer use dbus directly only libhal
  - src/update.c: added comment to update_check() 
  - README: reflect the latest developments (no direct dbus use etc)
  - data/Makefile.am: don't distribute the dbus helper script

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#ifndef _MD5_H
2
 
#define _MD5_H
3
 
 
4
 
#ifndef uint8
5
 
#define uint8  unsigned char
6
 
#endif
7
 
 
8
 
#ifndef uint32
9
 
#define uint32 unsigned long int
10
 
#endif
11
 
 
12
 
typedef struct
13
 
{
14
 
    uint32 total[2];
15
 
    uint32 state[4];
16
 
    uint8 buffer[64];
17
 
} md5_context;
18
 
 
19
 
void md5_starts( md5_context *ctx );
20
 
void md5_update( md5_context *ctx, uint8 *input, uint32 length );
21
 
void md5_finish( md5_context *ctx, uint8 digest[16] );
22
 
 
23
 
#endif /* md5.h */