]>
Commit | Line | Data |
---|---|---|
ef416fc2 | 1 | /* |
bc44d920 | 2 | * "$Id: md5-apple.h 6649 2007-07-11 21:46:42Z mike $" |
ef416fc2 | 3 | * |
4 | * MD5 MacOS X compatibility header for the Common UNIX Printing | |
5 | * System (CUPS). | |
6 | * | |
7 | * This file just defines aliases to the (private) CUPS MD5 functions. | |
8 | * | |
bc44d920 | 9 | * Copyright 2007 by Apple Inc. |
ef416fc2 | 10 | * Copyright 1997-2005 by Easy Software Products. |
11 | * | |
12 | * These coded instructions, statements, and computer programs are the | |
bc44d920 | 13 | * property of Apple Inc. and are protected by Federal copyright |
14 | * law. Distribution and use rights are outlined in the file "LICENSE.txt" | |
15 | * which should have been included with this file. If this file is | |
16 | * file is missing or damaged, see the license at "http://www.cups.org/". | |
ef416fc2 | 17 | * |
18 | * This file is subject to the Apple OS-Developed Software exception. | |
19 | */ | |
20 | ||
21 | void md5_init(_cups_md5_state_t *pms) | |
757d2cad | 22 | { _cupsMD5Init(pms); } |
ef416fc2 | 23 | void md5_append(_cups_md5_state_t *pms, const unsigned char *data, int nbytes) |
757d2cad | 24 | { _cupsMD5Append(pms, data, nbytes); } |
ef416fc2 | 25 | void md5_finish(_cups_md5_state_t *pms, unsigned char digest[16]) |
757d2cad | 26 | { _cupsMD5Finish(pms, digest); } |
ef416fc2 | 27 | |
28 | /* | |
bc44d920 | 29 | * End of "$Id: md5-apple.h 6649 2007-07-11 21:46:42Z mike $". |
ef416fc2 | 30 | */ |