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

..07-May-2022-

libltdl/H07-May-2022-65,06952,257

Makefile.inH A D30-Aug-2021948 5034

README.tplH A D30-Aug-20212.1 KiB8154

ccan-json.cH A D30-Aug-202129.4 KiB1,4221,048

getopt.cH A D30-Aug-202129.6 KiB1,058639

getopt.hH A D30-Aug-20215.8 KiB17458

getopt1.cH A D30-Aug-20214.4 KiB189123

glibc-gai_strerror.cH A D30-Aug-20213.6 KiB12277

glibc-glob.cH A D30-Aug-202138 KiB1,5401,203

glibc-hstrerror.cH A D30-Aug-20213.1 KiB8226

glibc-mkstemp.cH A D30-Aug-20213.1 KiB10758

hanson-tpl.cH A D30-Aug-202192.3 KiB2,4732,110

openbsd-bcrypt.cH A D30-Aug-20217.7 KiB290190

openbsd-blowfish.cH A D30-Aug-202118.9 KiB523438

pr-syslog.cH A D30-Aug-202110.7 KiB412268

pr_fnmatch.cH A D03-May-202213.4 KiB455315

pr_fnmatch_loop.cH A D30-Aug-202130.4 KiB1,267960

pwgrent.cH A D30-Aug-20215.1 KiB251153

sstrncpy.cH A D30-Aug-20212 KiB8038

strsep.cH A D30-Aug-20211.6 KiB6732

vsnprintf.cH A D30-Aug-20219.6 KiB461355

README.tpl

1tpl: fast, easy serialization in C
2==============================================================================
3
4Documentation for tpl is available in the doc/ directory or at:
5
6    http://tpl.sourceforge.net
7
8You can build tpl as a library, like so:
9
10    ./configure
11    make
12    make install
13
14This installs libtpl.so and libtpl.a into a standard system library directory.
15You can customize the install directory using configure's "--prefix" option:
16
17    ./configure --prefix=/some/directory
18
19For other options accepted by configure, run "./configure --help".
20
21NON-LIBRARY OPTION
22------------------
23Alternatively, if you don't want to muck around with libraries, you can simply
24copy these two files into your own C project and build them with your program:
25
26    src/tpl.h
27    src/tpl.c
28
29WINDOWS
30-------
31You can build tpl as a DLL under Visual Studio 2008. Or you can use MinGW or
32Cygwin.
33
34SELF-TEST SUITE
35---------------
36The automated self-test can be run by doing:
37
38    cd tests
39    make
40
41LICENSE
42-------
43The BSD license applies to this software. The text is in the LICENSE file.
44
45CREDITS
46-------
47Many people have contributed to tpl, both bits of code and ideas. Rather than
48listing them all here, at risk of omitting anyone- I just wish to say thank
49you. Some particular features are noted with contributors' names in the
50ChangeLog.
51
52Feel free to send me questions, comments or bug reports.
53
54Troy D. Hanson, February 5, 2010
55thanson@users.sourceforge.net
56
57PROFTPD EDITS
58--------------
59
60Given a source distribution of libtpl:
61
62  # cp libtpl-<version>/src/tpl.h proftpd-<version>/include/
63  # cp libtpl-<version>/src/tpl.c proftpd-<version>/lib/
64
65The following edits were made to the copy of tpl.c, to fix compiler warnings:
66All occurrences of:
67
68  #if  __STDC_VERSION__ < 199901
69
70in tpl.c are changed to:
71
72  #if defined(__STDC_VERSION__) &&  __STDC_VERSION__ < 199901
73
74since gcc does not always define the __STDC_VERSION macro.
75
76And the calc_field_addr() function in tpl.c was declared static, since the
77compiler was warning about no previous declarations of this function, and
78it is only ever called from within tpl.c.
79
80TJ Saunders, January 2011
81