diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2012-03-04 13:57:53 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2012-03-04 14:32:54 +0200 |
commit | 37147d7c6229cfb997a4a4bdac2d9e441f79b2c7 (patch) | |
tree | 8d990de594c58f70ca0d5493d97bad7c67e109b1 /include/dico/util.h | |
parent | 2aa9df8a67de14d1167ac96823b97461a9c28c96 (diff) | |
download | dico-53bb88d2341674c47e910ceefdf3c0acac5071e2.tar.gz dico-53bb88d2341674c47e910ceefdf3c0acac5071e2.tar.bz2 |
Implement info/descr for gcide.release-2.2
* NEWS: Update.
* doc/dico.texi: Update.
* include/dico/util.h (dico_string_trim): Add missing proto.
* modules/gcide/gcide.c (gcide_info, gcide_descr): Implement
info and description methods.
* modules/gcide/tests/dict/INFO: New file.
* modules/gcide/tests/Makefile.am (TESTSUITE_AT): Add descr.at and
info.at.
* modules/gcide/tests/testsuite.at: Include descr.at and info.at
* modules/gcide/tests/dicod.cfin: Remove description.
* modules/gcide/tests/descr.at: New test case.
* modules/gcide/tests/info.at: New test case.
* modules/gcide/tests/def00.at: Update.
* modules/gcide/tests/def01.at: Update.
* modules/gcide/tests/def02.at: Update.
* modules/gcide/tests/def03.at: Update.
* modules/gcide/tests/def04.at: Update.
* modules/gcide/tests/def05.at: Update.
* scripts/Makefile.am: Exempt gcider from standard options check.
Diffstat (limited to 'include/dico/util.h')
-rw-r--r-- | include/dico/util.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/dico/util.h b/include/dico/util.h index 115ae08..899dbcb 100644 --- a/include/dico/util.h +++ b/include/dico/util.h @@ -18,6 +18,7 @@ #define __dico_util_h char *dico_full_file_name(const char *dir, const char *file); +size_t dico_string_trim(char *buf, size_t len, int (*pred)(int c)); size_t dico_trim_nl(char *buf); size_t dico_trim_ws(char *buf); |