xref: /freebsd/contrib/expat/xmlwf/filemap.h (revision 39ee7a7a6bdd1557b1c3532abf60d139798ac88b)
1 /* Copyright (c) 1998, 1999 Thai Open Source Software Center Ltd
2    See the file COPYING for copying permission.
3 */
4 
5 #include <stddef.h>
6 
7 #ifdef XML_UNICODE
8 int filemap(const wchar_t *name,
9             void (*processor)(const void *, size_t,
10                               const wchar_t *, void *arg),
11             void *arg);
12 #else
13 int filemap(const char *name,
14             void (*processor)(const void *, size_t,
15                               const char *, void *arg),
16             void *arg);
17 #endif
18