libefi_int.h revision 203181
1203181Smarcel/*- 2203181Smarcel * Copyright (c) 2010 Marcel Moolenaar 3203181Smarcel * All rights reserved. 4203181Smarcel * 5203181Smarcel * Redistribution and use in source and binary forms, with or without 6203181Smarcel * modification, are permitted provided that the following conditions 7203181Smarcel * are met: 8203181Smarcel * 1. Redistributions of source code must retain the above copyright 9203181Smarcel * notice, this list of conditions and the following disclaimer. 10203181Smarcel * 2. Redistributions in binary form must reproduce the above copyright 11203181Smarcel * notice, this list of conditions and the following disclaimer in the 12203181Smarcel * documentation and/or other materials provided with the distribution. 13203181Smarcel * 14203181Smarcel * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 15203181Smarcel * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16203181Smarcel * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17203181Smarcel * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 18203181Smarcel * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19203181Smarcel * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20203181Smarcel * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21203181Smarcel * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22203181Smarcel * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23203181Smarcel * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24203181Smarcel * SUCH DAMAGE. 25203181Smarcel * 26203181Smarcel * $FreeBSD: head/lib/libefi/libefi_int.h 203181 2010-01-30 04:24:03Z marcel $ 27203181Smarcel */ 28203181Smarcel 29203181Smarcel#ifndef _LIBEFI_INT_H_ 30203181Smarcel#define _LIBEFI_INT_H_ 31203181Smarcel 32203181Smarcel#include <sys/errno.h> 33203181Smarcel#include <machine/iodev.h> 34203181Smarcel 35203181Smarcelint libefi_ucs2_to_utf8(u_short *, size_t *, char *); 36203181Smarcelint libefi_utf8_to_ucs2(char *, size_t *, u_short **); 37203181Smarcel 38203181Smarcelint libefi_efivar(struct iodev_efivar_req *); 39203181Smarcel 40203181Smarcel#endif /* _LIBEFI_INT_H_ */ 41