X-Git-Url: https://git.deb.at/?a=blobdiff_plain;f=abook.c;h=9f956559b361cdcc01662d36a5e3d0d207d319e0;hb=c6c64f87def0694eb80ecc10fde881a203e82fcf;hp=e9f8841dccee9c3eb23be9a2e882e3be2fdcb99f;hpb=0968f14408d8b41570bea076d44d5edbbc3477ed;p=pkg%2Fabook.git diff --git a/abook.c b/abook.c index e9f8841..9f95655 100644 --- 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;