• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

build-aux/H18-Aug-2021-16,46012,263

doc/doxygen/H18-Aug-2021-2,3741,789

examples/H18-Aug-2021-614502

fsmtrie/H18-Aug-2021-2,1371,234

m4/H18-Aug-2021-9,3418,439

tests/H18-Aug-2021-633555

COPYRIGHTH A D01-Feb-2019575 1410

Makefile.amH A D18-Aug-20215 KiB146106

Makefile.inH A D18-Aug-202170.4 KiB1,6511,469

README.mdH A D01-Feb-20191.6 KiB4631

aclocal.m4H A D18-Aug-202141.4 KiB1,1601,054

config.h.inH A D18-Aug-20214 KiB142104

configureH A D18-Aug-2021454.8 KiB15,63013,069

configure.acH A D18-Aug-20213.6 KiB129109

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