citrus_mmap.h revision 219019
13471Salanb/* $FreeBSD: head/lib/libc/iconv/citrus_mmap.h 219019 2011-02-25 00:04:39Z gabor $ */ 28374Salanb/* $NetBSD: citrus_mmap.h,v 1.1 2003/06/25 09:51:38 tshiozak Exp $ */ 33471Salanb 43471Salanb/*- 53471Salanb * Copyright (c)2003 Citrus Project, 63471Salanb * All rights reserved. 73471Salanb * 83471Salanb * Redistribution and use in source and binary forms, with or without 93471Salanb * modification, are permitted provided that the following conditions 103471Salanb * are met: 113471Salanb * 1. Redistributions of source code must retain the above copyright 123471Salanb * notice, this list of conditions and the following disclaimer. 133471Salanb * 2. Redistributions in binary form must reproduce the above copyright 143471Salanb * notice, this list of conditions and the following disclaimer in the 153471Salanb * documentation and/or other materials provided with the distribution. 163471Salanb * 173471Salanb * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 183471Salanb * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 193471Salanb * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 203471Salanb * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 213471Salanb * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 223471Salanb * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 233471Salanb * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 243471Salanb * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 258374Salanb * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 268324Salanb * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 278374Salanb * SUCH DAMAGE. 283471Salanb * 293471Salanb */ 3011822Sdarcy 313471Salanb#ifndef _CITRUS_MMAP_H_ 323471Salanb#define _CITRUS_MMAP_H_ 338374Salanb 348374Salanb__BEGIN_DECLS 358374Salanbint _citrus_map_file(struct _citrus_region * __restrict, 368374Salanb const char * __restrict); 378374Salanbvoid _citrus_unmap_file(struct _citrus_region *); 388374Salanb__END_DECLS 398374Salanb 408374Salanb#endif 418374Salanb