mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-10-10 08:12:21 +03:00
have single dump function per engine
This commit is contained in:
@@ -35,7 +35,6 @@
|
||||
|
||||
#if defined(DUMP_SUPPORT)
|
||||
|
||||
#include <cstdio>
|
||||
#include <string>
|
||||
|
||||
struct NFA;
|
||||
@@ -43,13 +42,11 @@ struct NFA;
|
||||
namespace ue2 {
|
||||
|
||||
/**
|
||||
* \brief Dump (in Graphviz 'dot' format) a representation of the NFA into the
|
||||
* file pointed to by dotFile.
|
||||
* \brief Dump files representing the engine. All files dumped should begin with
|
||||
* path/prefix specified by base. Generally a text file and a grpahviz (dot)
|
||||
* files should be produced.
|
||||
*/
|
||||
void nfaDumpDot(const struct NFA *nfa, FILE *dotFile, const std::string &base);
|
||||
|
||||
/** \brief Dump a textual representation of the NFA. */
|
||||
void nfaDumpText(const struct NFA *fact, FILE *textFile);
|
||||
void nfaGenerateDumpFiles(const struct NFA *nfa, const std::string &base);
|
||||
|
||||
} // namespace ue2
|
||||
|
||||
|
Reference in New Issue
Block a user