1*7574SJan.Pechanec@Sun.COM /* 2*7574SJan.Pechanec@Sun.COM * CDDL HEADER START 3*7574SJan.Pechanec@Sun.COM * 4*7574SJan.Pechanec@Sun.COM * The contents of this file are subject to the terms of the 5*7574SJan.Pechanec@Sun.COM * Common Development and Distribution License (the "License"). 6*7574SJan.Pechanec@Sun.COM * You may not use this file except in compliance with the License. 7*7574SJan.Pechanec@Sun.COM * 8*7574SJan.Pechanec@Sun.COM * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9*7574SJan.Pechanec@Sun.COM * or http://www.opensolaris.org/os/licensing. 10*7574SJan.Pechanec@Sun.COM * See the License for the specific language governing permissions 11*7574SJan.Pechanec@Sun.COM * and limitations under the License. 12*7574SJan.Pechanec@Sun.COM * 13*7574SJan.Pechanec@Sun.COM * When distributing Covered Code, include this CDDL HEADER in each 14*7574SJan.Pechanec@Sun.COM * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15*7574SJan.Pechanec@Sun.COM * If applicable, add the following below this CDDL HEADER, with the 16*7574SJan.Pechanec@Sun.COM * fields enclosed by brackets "[]" replaced with your own identifying 17*7574SJan.Pechanec@Sun.COM * information: Portions Copyright [yyyy] [name of copyright owner] 18*7574SJan.Pechanec@Sun.COM * 19*7574SJan.Pechanec@Sun.COM * CDDL HEADER END 20*7574SJan.Pechanec@Sun.COM */ 21*7574SJan.Pechanec@Sun.COM /* 22*7574SJan.Pechanec@Sun.COM * Copyright 2008 Sun Microsystems, Inc. All rights reserved. 23*7574SJan.Pechanec@Sun.COM * Use is subject to license terms. 24*7574SJan.Pechanec@Sun.COM */ 25*7574SJan.Pechanec@Sun.COM 26*7574SJan.Pechanec@Sun.COM #ifndef _ENGINE_H 27*7574SJan.Pechanec@Sun.COM #define _ENGINE_H 28*7574SJan.Pechanec@Sun.COM 29*7574SJan.Pechanec@Sun.COM #ifdef __cplusplus 30*7574SJan.Pechanec@Sun.COM extern "C" { 31*7574SJan.Pechanec@Sun.COM #endif 32*7574SJan.Pechanec@Sun.COM 33*7574SJan.Pechanec@Sun.COM #include "includes.h" 34*7574SJan.Pechanec@Sun.COM #include <openssl/engine.h> 35*7574SJan.Pechanec@Sun.COM 36*7574SJan.Pechanec@Sun.COM ENGINE *pkcs11_engine_load(int use_engine); 37*7574SJan.Pechanec@Sun.COM void pkcs11_engine_finish(void *engine); 38*7574SJan.Pechanec@Sun.COM 39*7574SJan.Pechanec@Sun.COM #ifdef __cplusplus 40*7574SJan.Pechanec@Sun.COM } 41*7574SJan.Pechanec@Sun.COM #endif 42*7574SJan.Pechanec@Sun.COM 43*7574SJan.Pechanec@Sun.COM #endif /* _ENGINE_H */ 44