projects
/
idzebra-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Minor changes.
[idzebra-moved-to-github.git]
/
include
/
dfa.h
diff --git
a/include/dfa.h
b/include/dfa.h
index
0d59afa
..
8a031d3
100644
(file)
--- a/
include/dfa.h
+++ b/
include/dfa.h
@@
-4,7
+4,10
@@
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: dfa.h,v $
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: dfa.h,v $
- * Revision 1.7 1997-09-05 15:29:59 adam
+ * Revision 1.8 1997-09-18 08:59:18 adam
+ * Extra generic handle for the character mapping routines.
+ *
+ * Revision 1.7 1997/09/05 15:29:59 adam
* Changed prototype for chr_map_input - added const.
* Added support for C++, headers uses extern "C" for public definitions.
*
* Changed prototype for chr_map_input - added const.
* Added support for C++, headers uses extern "C" for public definitions.
*
@@
-70,8
+73,8
@@
struct DFA {
};
struct DFA *dfa_init (void);
};
struct DFA *dfa_init (void);
-void dfa_set_cmap (struct DFA *dfa,
- const char **(*cmap)(const char **from, int len));
+void dfa_set_cmap (struct DFA *dfa, void *vp,
+ const char **(*cmap)(void *vp, const char **from, int len));
int dfa_parse (struct DFA *, const char **);
void dfa_mkstate (struct DFA *);
void dfa_delete (struct DFA **);
int dfa_parse (struct DFA *, const char **);
void dfa_mkstate (struct DFA *);
void dfa_delete (struct DFA **);