2011-08-28 17:29:09 +08:00
|
|
|
#ifndef HEADER_CURL_NSSG_H
|
|
|
|
#define HEADER_CURL_NSSG_H
|
2007-02-13 06:32:37 +08:00
|
|
|
/***************************************************************************
|
|
|
|
* _ _ ____ _
|
|
|
|
* Project ___| | | | _ \| |
|
|
|
|
* / __| | | | |_) | |
|
|
|
|
* | (__| |_| | _ <| |___
|
|
|
|
* \___|\___/|_| \_\_____|
|
|
|
|
*
|
2017-01-13 00:41:26 +08:00
|
|
|
* Copyright (C) 1998 - 2017, Daniel Stenberg, <daniel@haxx.se>, et al.
|
2007-02-13 06:32:37 +08:00
|
|
|
*
|
|
|
|
* This software is licensed as described in the file COPYING, which
|
|
|
|
* you should have received as part of this distribution. The terms
|
2016-02-03 07:19:02 +08:00
|
|
|
* are also available at https://curl.haxx.se/docs/copyright.html.
|
2007-02-13 06:32:37 +08:00
|
|
|
*
|
|
|
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
|
|
|
* copies of the Software, and permit persons to whom the Software is
|
|
|
|
* furnished to do so, under the terms of the COPYING file.
|
|
|
|
*
|
|
|
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
|
|
|
* KIND, either express or implied.
|
|
|
|
*
|
|
|
|
***************************************************************************/
|
2013-01-07 02:06:49 +08:00
|
|
|
#include "curl_setup.h"
|
2007-02-13 06:32:37 +08:00
|
|
|
|
2008-06-12 01:01:58 +08:00
|
|
|
#ifdef USE_NSS
|
2007-02-13 06:32:37 +08:00
|
|
|
/*
|
2013-12-25 18:30:51 +08:00
|
|
|
* This header should only be needed to get included by vtls.c and nss.c
|
2007-02-13 06:32:37 +08:00
|
|
|
*/
|
|
|
|
|
2013-01-04 09:50:28 +08:00
|
|
|
#include "urldata.h"
|
2011-08-28 17:29:09 +08:00
|
|
|
|
2010-06-27 09:38:01 +08:00
|
|
|
/* initialize NSS library if not already */
|
2016-06-21 21:47:12 +08:00
|
|
|
CURLcode Curl_nss_force_init(struct Curl_easy *data);
|
2010-06-27 09:38:01 +08:00
|
|
|
|
2017-06-22 22:45:34 +08:00
|
|
|
extern const struct Curl_ssl Curl_ssl_nss;
|
|
|
|
|
2008-06-12 01:01:58 +08:00
|
|
|
#endif /* USE_NSS */
|
2011-08-28 17:29:09 +08:00
|
|
|
#endif /* HEADER_CURL_NSSG_H */
|