~ubuntu-branches/ubuntu/vivid/curl/vivid

« back to all changes in this revision

Viewing changes to lib/curl_sasl.h

  • Committer: Package Import Robot
  • Author(s): Sebastien Bacher
  • Date: 2013-05-07 12:16:37 UTC
  • mfrom: (3.4.37 sid)
  • Revision ID: package-import@ubuntu.com-20130507121637-9t3i98qgsyr9dw5d
Tags: 7.30.0-1ubuntu1
* Resynchronize on Debian. Remaining changes:
  - Drop dependencies not in main:
    + Build-Depends: Drop stunnel4 and libssh2-1-dev.
    + Drop libssh2-1-dev from binary package Depends.
  - Add new libcurl3-udeb package.
  - Add new curl-udeb package.
* Add warning to debian/patches/series.

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
 *                            | (__| |_| |  _ <| |___
8
8
 *                             \___|\___/|_| \_\_____|
9
9
 *
10
 
 * Copyright (C) 2012, Daniel Stenberg, <daniel@haxx.se>, et al.
 
10
 * Copyright (C) 2012 - 2013, 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
35
35
 
36
36
/* This is used to generate a base64 encoded PLAIN authentication message */
37
37
CURLcode Curl_sasl_create_plain_message(struct SessionHandle *data,
38
 
                                        const char* userp,
39
 
                                        const char* passwdp,
 
38
                                        const char *userp,
 
39
                                        const char *passwdp,
40
40
                                        char **outptr, size_t *outlen);
41
41
 
42
42
/* This is used to generate a base64 encoded LOGIN authentication message
43
43
   containing either the user name or password details */
44
44
CURLcode Curl_sasl_create_login_message(struct SessionHandle *data,
45
 
                                        const char* valuep, char **outptr,
 
45
                                        const char *valuep, char **outptr,
46
46
                                        size_t *outlen);
47
47
 
48
48
#ifndef CURL_DISABLE_CRYPTO_AUTH
49
49
/* This is used to generate a base64 encoded CRAM-MD5 response message */
50
50
CURLcode Curl_sasl_create_cram_md5_message(struct SessionHandle *data,
51
 
                                           const char* chlg64,
52
 
                                           const char* user,
53
 
                                           const char* passwdp,
 
51
                                           const char *chlg64,
 
52
                                           const char *user,
 
53
                                           const char *passwdp,
54
54
                                           char **outptr, size_t *outlen);
55
55
 
56
56
/* This is used to generate a base64 encoded DIGEST-MD5 response message */
57
57
CURLcode Curl_sasl_create_digest_md5_message(struct SessionHandle *data,
58
 
                                             const char* chlg64,
59
 
                                             const char* user,
60
 
                                             const char* passwdp,
61
 
                                             const char* service,
 
58
                                             const char *chlg64,
 
59
                                             const char *user,
 
60
                                             const char *passwdp,
 
61
                                             const char *service,
62
62
                                             char **outptr, size_t *outlen);
63
63
#endif
64
64