common/msvc_posix_wrapper.h

Go to the documentation of this file.
00001 /* msvc_posix_wrapper.h: Provides wrappers with POSIX semantics under MSVC.
00002  *
00003  * (misnamed, this isn't MSVC specific, but __WIN32__-specific)
00004  *
00005  * Copyright 2007 Lemur Consulting Ltd
00006  * Copyright 2007 Olly Betts
00007  *
00008  * This program is free software; you can redistribute it and/or
00009  * modify it under the terms of the GNU General Public License as
00010  * published by the Free Software Foundation; either version 2 of the
00011  * License, or (at your option) any later version.
00012  *
00013  * This program is distributed in the hope that it will be useful,
00014  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00015  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00016  * GNU General Public License for more details.
00017  *
00018  * You should have received a copy of the GNU General Public License
00019  * along with this program; if not, write to the Free Software
00020  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301
00021  * USA
00022  */
00023 
00024 #ifndef XAPIAN_INCLUDED_MSVC_POSIX_WRAPPER_H
00025 #define XAPIAN_INCLUDED_MSVC_POSIX_WRAPPER_H
00026 
00031 int msvc_posix_unlink(const char * filename);
00032 
00034 int msvc_posix_open(const char *filename, int flags);
00035 
00037 int msvc_posix_rename(const char *from, const char *to);
00038 
00039 #endif /* XAPIAN_INCLUDED_MSVC_POSIX_WRAPPER_H */

Documentation for Xapian (version 1.0.10).
Generated on 24 Dec 2008 by Doxygen 1.5.2.