00001 /* 00002 The contents of this file are subject to the Mozilla Public License 00003 Version 1.0 (the "License"); you may not use this file except in 00004 compliance with the License. You may obtain a copy of the License at 00005 http://www.mozilla.org/MPL/ 00006 00007 Software distributed under the License is distributed on an "AS IS" 00008 basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the 00009 License for the specific language governing rights and limitations 00010 under the License. 00011 00012 The Original Code is expat. 00013 00014 The Initial Developer of the Original Code is James Clark. 00015 Portions created by James Clark are Copyright (C) 1998 00016 James Clark. All Rights Reserved. 00017 00018 Contributor(s): 00019 */ 00020 00021 00022 #include <stddef.h> 00023 00024 #ifdef XML_UNICODE 00025 int filemap(const wchar_t *name, 00026 void (*processor)(const void *, size_t, const wchar_t *, void *arg), 00027 void *arg); 00028 #else 00029 int filemap(const char *name, 00030 void (*processor)(const void *, size_t, const char *, void *arg), 00031 void *arg); 00032 #endif