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