~ubuntu-branches/ubuntu/intrepid/curl/intrepid

« back to all changes in this revision

Viewing changes to lib/http_digest.h

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2007-05-16 15:16:54 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20070516151654-jo48r81zempo1qav
Tags: 7.16.2-3ubuntu1
* Merge with Debian; remaining changes:
  - Drop the stunnel build dependency.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#ifndef __HTTP_DIGEST_H
2
2
#define __HTTP_DIGEST_H
3
3
/***************************************************************************
4
 
 *                                  _   _ ____  _     
5
 
 *  Project                     ___| | | |  _ \| |    
6
 
 *                             / __| | | | |_) | |    
7
 
 *                            | (__| |_| |  _ <| |___ 
 
4
 *                                  _   _ ____  _
 
5
 *  Project                     ___| | | |  _ \| |
 
6
 *                             / __| | | | |_) | |
 
7
 *                            | (__| |_| |  _ <| |___
8
8
 *                             \___|\___/|_| \_\_____|
9
9
 *
10
 
 * Copyright (C) 1998 - 2004, Daniel Stenberg, <daniel@haxx.se>, et al.
 
10
 * Copyright (C) 1998 - 2006, Daniel Stenberg, <daniel@haxx.se>, et al.
11
11
 *
12
12
 * This software is licensed as described in the file COPYING, which
13
13
 * you should have received as part of this distribution. The terms
14
14
 * are also available at http://curl.haxx.se/docs/copyright.html.
15
 
 * 
 
15
 *
16
16
 * You may opt to use, copy, modify, merge, publish, distribute and/or sell
17
17
 * copies of the Software, and permit persons to whom the Software is
18
18
 * furnished to do so, under the terms of the COPYING file.
20
20
 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
21
21
 * KIND, either express or implied.
22
22
 *
23
 
 * $Id: http_digest.h,v 1.7 2004/05/13 14:14:03 bagder Exp $
 
23
 * $Id: http_digest.h,v 1.8 2006-09-07 21:49:22 bagder Exp $
24
24
 ***************************************************************************/
25
25
 
26
26
typedef enum {
47
47
                            bool proxy,
48
48
                            unsigned char *request,
49
49
                            unsigned char *uripath);
 
50
void Curl_digest_cleanup_one(struct digestdata *dig);
 
51
 
 
52
#if !defined(CURL_DISABLE_HTTP) && !defined(CURL_DISABLE_CRYPTO_AUTH)
50
53
void Curl_digest_cleanup(struct SessionHandle *data);
51
 
void Curl_digest_cleanup_one(struct digestdata *dig);
 
54
#else
 
55
#define Curl_digest_cleanup(x) do {} while(0)
 
56
#endif
52
57
 
53
58
#endif