~ubuntu-branches/ubuntu/raring/curl/raring-updates

« back to all changes in this revision

Viewing changes to lib/nssg.h

  • Committer: Package Import Robot
  • Author(s): Alessandro Ghedini
  • Date: 2011-11-13 21:07:32 UTC
  • mto: (3.6.1 experimental) (1.3.1)
  • mto: This revision was merged to the branch mainline in revision 55.
  • Revision ID: package-import@ubuntu.com-20111113210732-bk5n25x2tu7aplur
Tags: upstream-7.22.0
ImportĀ upstreamĀ versionĀ 7.22.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#ifndef __NSSG_H
2
 
#define __NSSG_H
 
1
#ifndef HEADER_CURL_NSSG_H
 
2
#define HEADER_CURL_NSSG_H
3
3
/***************************************************************************
4
4
 *                                  _   _ ____  _
5
5
 *  Project                     ___| | | |  _ \| |
21
21
 * KIND, either express or implied.
22
22
 *
23
23
 ***************************************************************************/
 
24
#include "setup.h"
24
25
 
25
26
#ifdef USE_NSS
26
27
/*
28
29
 */
29
30
 
30
31
#include "urldata.h"
 
32
 
31
33
CURLcode Curl_nss_connect(struct connectdata *conn, int sockindex);
32
34
CURLcode Curl_nss_connect_nonblocking(struct connectdata *conn,
33
35
                                      int sockindex,
55
57
#define curlssl_connect Curl_nss_connect
56
58
 
57
59
/* NSS has its own session ID cache */
58
 
#define curlssl_session_free(x)
 
60
#define curlssl_session_free(x) Curl_nop_stmt
59
61
#define curlssl_close_all Curl_nss_close_all
60
62
#define curlssl_close Curl_nss_close
61
63
/* NSS has no shutdown function provided and thus always fail */
68
70
#define curlssl_data_pending(x,y) (x=x, y=y, 0)
69
71
 
70
72
#endif /* USE_NSS */
71
 
#endif
 
73
#endif /* HEADER_CURL_NSSG_H */