]> git.deb.at Git - pkg/abook.git/commit
custom output format (2/4): item-based and the other database-based output functions
authorRaphaël Droz <raphael.droz+floss@gmail.com>
Tue, 30 Aug 2011 14:20:39 +0000 (16:20 +0200)
committerRaphaël Droz <raphael.droz+floss@gmail.com>
Wed, 24 Oct 2012 16:23:57 +0000 (18:23 +0200)
commitc6c64f87def0694eb80ecc10fde881a203e82fcf
tree3edc63031d5b44c7495e62f0f7fc712b56fafb37
parent0968f14408d8b41570bea076d44d5edbbc3477ed
custom output format (2/4): item-based and the other database-based output functions

* custom_export_database() takes care of building a field_types pointer
  from the format string by calling parse_custom_format().
* custom_export_item() output each entry according to the format string
  itself + the associated *field_types.

The default value for custom_format is: "{nick} ({name}): {mobile}"
abook.c
filter.c
filter.h