]> git.deb.at Git - pkg/abook.git/blobdiff - abook.c
custom output format (2/4): item-based and the other database-based output functions
[pkg/abook.git] / abook.c
diff --git a/abook.c b/abook.c
index e9f8841dccee9c3eb23be9a2e882e3be2fdcb99f..9f956559b361cdcc01662d36a5e3d0d207d319e0 100644 (file)
--- a/abook.c
+++ b/abook.c
@@ -50,6 +50,10 @@ static void          add_email(int);
 char *datafile = NULL;
 static char *rcfile = NULL;
 
+// custom formatting
+char custom_format[FORMAT_STRING_LEN] = "{nick} ({name}): {mobile}";
+char *parsed_custom_format = NULL;
+enum field_types *custom_format_fields = 0;
 struct abook_output_item_filter selected_item_filter;
 
 bool alternative_datafile = FALSE;