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