~ubuntu-branches/ubuntu/lucid/knetworkmanager/lucid

« back to all changes in this revision

Viewing changes to knetworkmanager/src/md5.h

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2008-09-26 12:40:26 UTC
  • mfrom: (1.2.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20080926124026-t5fr920l4lf2l6hz
Tags: 1:0.7svn864988-0ubuntu1
New upstream snapshot, now works with current NM API, 
closes LP: #259278

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#ifndef GNOME_KEYRING_MD5_H
2
 
#define GNOME_KEYRING_MD5_H
3
 
 
4
 
#include <glib.h>
5
 
 
6
 
struct GnomeKeyringMD5Context {
7
 
        guint32 buf[4];
8
 
        guint32 bits[2];
9
 
        unsigned char in[64];
10
 
};
11
 
 
12
 
char *gnome_keyring_md5_digest_to_ascii (unsigned char                  digest[16]);
13
 
void  gnome_keyring_md5_string          (const char                    *string,
14
 
                                         unsigned char                  digest[16]);
15
 
void  gnome_keyring_md5_init            (struct GnomeKeyringMD5Context *ctx);
16
 
void  gnome_keyring_md5_update          (struct GnomeKeyringMD5Context *ctx,
17
 
                                         unsigned char const           *buf,
18
 
                                         unsigned                       len);
19
 
void  gnome_keyring_md5_final           (unsigned char                  digest[16],
20
 
                                         struct GnomeKeyringMD5Context *ctx);
21
 
 
22
 
#endif /* GNOME_KEYRING_MD5_H */