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