Blame lib/system-keys.h

Packit 549fdc
/*
Packit 549fdc
 * Copyright © 2014 Red Hat, Inc.
Packit 549fdc
 *
Packit 549fdc
 * Author: Nikos Mavrogiannopoulos
Packit 549fdc
 *
Packit 549fdc
 * GnuTLS is free software; you can redistribute it and/or
Packit 549fdc
 * modify it under the terms of the GNU Lesser General Public License
Packit 549fdc
 * as published by the Free Software Foundation; either version 2.1 of
Packit 549fdc
 * the License, or (at your option) any later version.
Packit 549fdc
 *
Packit 549fdc
 * This library is distributed in the hope that it will be useful, but
Packit 549fdc
 * WITHOUT ANY WARRANTY; without even the implied warranty of
Packit 549fdc
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit 549fdc
 * Lesser General Public License for more details.
Packit 549fdc
 *
Packit 549fdc
 * You should have received a copy of the GNU Lesser General Public License
Packit 549fdc
 * along with this program.  If not, see <http://www.gnu.org/licenses/>
Packit 549fdc
 *
Packit 549fdc
 */
Packit 549fdc
Packit 549fdc
#ifndef SYSTEM_KEYS_H
Packit 549fdc
# define SYSTEM_KEYS_H
Packit 549fdc
Packit 549fdc
#ifdef _WIN32
Packit 549fdc
# define _gnutls_system_url_is_supported(x) 1
Packit 549fdc
#else
Packit 549fdc
# define _gnutls_system_url_is_supported(x) 0
Packit 549fdc
#endif
Packit 549fdc
Packit 549fdc
int
Packit 549fdc
_gnutls_x509_crt_import_system_url(gnutls_x509_crt_t crt, const char *url);
Packit 549fdc
Packit 549fdc
int
Packit 549fdc
_gnutls_privkey_import_system_url(gnutls_privkey_t pkey,
Packit 549fdc
				  const char *url);
Packit 549fdc
Packit 549fdc
void _gnutls_system_key_deinit(void);
Packit 549fdc
int _gnutls_system_key_init(void);
Packit 549fdc
Packit 549fdc
#endif