diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2009-04-08 23:10:24 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2009-04-08 23:10:24 +0300 |
commit | bc1d035d9356ddc1bca33a95b3d3d93ec0ab5535 (patch) | |
tree | 99d93fb1ee97925f38944390ec5a60e3fd3a2ae6 /.gitignore | |
parent | deae8a9fc0ca98e3be69fc7c84db296319cbb676 (diff) | |
download | mailfromd-bc1d035d9356ddc1bca33a95b3d3d93ec0ab5535.tar.gz mailfromd-bc1d035d9356ddc1bca33a95b3d3d93ec0ab5535.tar.bz2 |
The `dbprop' pragma allows to define database properties.
* mfd/Makefile.am (mailfromd_SOURCES): Add pragma.c
* mfd/pragma.c: New file.
* mfd/bi_db.m4: New pragma `dbprop'.
(dbmap, dbget, dbput, dbdel): take database properties from dbprop settings.
(dbfirst): Open database for reading only.
* mfd/gram.y (pragma_regex, pragma_option, pragma_stacksize)
(pragma_database): Rewrite to match new pragma interface.
(pragma_setup): New function.
* mfd/mailfromd.h (SYM_PRAGMA): New symbol type.
(install_pragma, lookup_pragma): New protos.
(parse_pragma): Arg is const.
* mfd/main.c (main): Call pragma_setup.
* mfd/snarf.m4 (MF_PRAGMA): New define.
* mfd/symtab.c ((install_pragma, lookup_pragma): New functions.
* .gitignore, tests/.gitignore: Update.
Diffstat (limited to '.gitignore')
-rw-r--r-- | .gitignore | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -2,6 +2,8 @@ *.la *.lo *.o +*~ +*.tar.* .bootstrap .deps .emacs* @@ -19,6 +21,7 @@ config.h.in config.log config.status configure +core gnu m4 stamp-h1 |