certs.h revision 1.1
11.1Schristos/* $NetBSD: certs.h,v 1.1 2025/02/24 13:47:55 christos Exp $ */ 21.1Schristos 31.1Schristos/* 41.1Schristos * Redistribution and use in source and binary forms, with or without 51.1Schristos * modification, are permitted provided that the following conditions 61.1Schristos * are met: 71.1Schristos * 1. Redistributions of source code must retain the above copyright 81.1Schristos * notice, this list of conditions and the following disclaimer. 91.1Schristos * 2. Redistributions in binary form must reproduce the above copyright 101.1Schristos * notice, this list of conditions and the following disclaimer in the 111.1Schristos * documentation and/or other materials provided with the distribution. 121.1Schristos * 131.1Schristos * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS 141.1Schristos * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 151.1Schristos * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 161.1Schristos * DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 171.1Schristos * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 181.1Schristos * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 191.1Schristos * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 201.1Schristos * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 211.1Schristos * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 221.1Schristos * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 231.1Schristos * SUCH DAMAGE. 241.1Schristos */ 251.1Schristos 261.1Schristos#ifndef _CERTS_H_ 271.1Schristos#define _CERTS_H_ 281.1Schristos 291.1Schristos#ifndef lint 301.1Schristos__RCSID("$NetBSD: certs.h,v 1.1 2025/02/24 13:47:55 christos Exp $"); 311.1Schristos#endif /* not lint */ 321.1Schristos 331.1Schristosconst char *get_cert_name(uuid_t *uuid); 341.1Schristosint show_cert_data(efi_var_t *, bool); 351.1Schristos 361.1Schristos#endif /* _CERTS_H_ */ 37