xref: /freebsd/contrib/expat/xmlwf/filemap.h (revision 1e413cf93298b5b97441a21d9a50fdcd0ee9945e)
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