1 /***************************************************************************
3 * Project ___| | | | _ \| |
5 * | (__| |_| | _ <| |___
6 * \___|\___/|_| \_\_____|
8 * Copyright (C) 1998 - 2003, Daniel Stenberg, <daniel@haxx.se>, et al.
10 * This software is licensed as described in the file COPYING, which
11 * you should have received as part of this distribution. The terms
12 * are also available at http://curl.haxx.se/docs/copyright.html.
14 * You may opt to use, copy, modify, merge, publish, distribute and/or sell
15 * copies of the Software, and permit persons to whom the Software is
16 * furnished to do so, under the terms of the COPYING file.
18 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
19 * KIND, either express or implied.
22 ***************************************************************************/
25 CURLDIGEST_NONE, /* not a digest */
26 CURLDIGEST_BAD, /* a digest, but one we don't like */
27 CURLDIGEST_FINE, /* a digest we act on */
29 CURLDIGEST_LAST /* last entry in this enum, don't use */
34 CURLDIGESTALGO_MD5SESS
37 /* this is for digest header input */
38 CURLdigest Curl_input_digest(struct connectdata *conn, char *header);
40 /* this is for creating digest header output */
41 CURLcode Curl_output_digest(struct connectdata *conn,
42 unsigned char *request,
43 unsigned char *uripath);