|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | 03-May-2022 | - |
| build-aux/ | H | 18-Aug-2021 | - | 16,460 | 12,263 |
| doc/doxygen/ | H | 18-Aug-2021 | - | 2,374 | 1,789 |
| examples/ | H | 18-Aug-2021 | - | 614 | 502 |
| fsmtrie/ | H | 18-Aug-2021 | - | 2,137 | 1,234 |
| m4/ | H | 18-Aug-2021 | - | 9,341 | 8,439 |
| tests/ | H | 18-Aug-2021 | - | 633 | 555 |
| COPYRIGHT | H A D | 01-Feb-2019 | 575 | 14 | 10 |
| Makefile.am | H A D | 18-Aug-2021 | 5 KiB | 146 | 106 |
| Makefile.in | H A D | 18-Aug-2021 | 70.4 KiB | 1,651 | 1,469 |
| README.md | H A D | 01-Feb-2019 | 1.6 KiB | 46 | 31 |
| aclocal.m4 | H A D | 18-Aug-2021 | 41.4 KiB | 1,160 | 1,054 |
| config.h.in | H A D | 18-Aug-2021 | 4 KiB | 142 | 104 |
| configure | H A D | 18-Aug-2021 | 454.8 KiB | 15,630 | 13,069 |
| configure.ac | H A D | 18-Aug-2021 | 3.6 KiB | 129 | 109 |
README.md
1## Farsight fsmtrie
2This is the Fast String Matcher Trie project. This C-based library provides a
3simple API for the storage and fast matching of ASCII, Extended ASCII, and
432-bit wide "token" strings.
5
6It was originally inspired from code found [here](http://www.geeksforgeeks.org/trie-insert-and-search/).
7
8### Building and installing fsmtrie
9`fsmtrie` requires a C99 compiler and the `pkg-config` utility to be installed.
10It may also depend on [libbsd](http://libbsd.freedesktop.org/wiki/)
11(which should already be installed on BSD systems).
12It has the following optional dependencies:
13
14 * [doxygen](http://www.stack.nl/~dimitri/doxygen/) (be sure to use >= 1.8.3 that supports inlining markdown files)
15 * [check](http://check.sourceforge.net/doc/check_html/) (be sure to use >= 0.10.0)
16
17If building from a distribution tarball, the following command should build
18and install `fsmtrie`:
19
20`./configure && make && make install`
21
22On platforms where the `pkg-config` utility is unavailable, `.pc` file
23installation can be disabled by passing `--without-pkgconfigdir` to
24`configure`.
25
26If building from a git checkout, the `autotools` (`autoconf`, `automake`,
27`libtool`) must also be installed, and the build system must be bootstrapped by
28running the `autogen.sh` script:
29
30`./autogen.sh && ./configure && make && make install`
31
32To build the API documentation, you'll need doxygen installed and you should:
33
34`make doc`
35
36If you installed the `check` library, you can run the unit tests via:
37
38`make check`
39
40### API
41The auto-generated doxygen-based manual has a complete API reference.
42
43### Examples
44The examples directory contains a handful of examples of how to use the fsmtrie
45library.
46