diff options
author | Chris Toshok <toshok@src.gnome.org> | 2000-04-11 23:08:11 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2000-04-11 23:08:11 +0800 |
commit | 562afc46d5e83393978d94c80025aa49557d8f26 (patch) | |
tree | fec84185f7ece99e2daa44674ccd89bb44882d07 /tests | |
parent | 33d700d2eac61942d86df94d2dd1c8d01ea7e4b7 (diff) | |
download | gsoc2013-evolution-562afc46d5e83393978d94c80025aa49557d8f26.tar gsoc2013-evolution-562afc46d5e83393978d94c80025aa49557d8f26.tar.gz gsoc2013-evolution-562afc46d5e83393978d94c80025aa49557d8f26.tar.bz2 gsoc2013-evolution-562afc46d5e83393978d94c80025aa49557d8f26.tar.lz gsoc2013-evolution-562afc46d5e83393978d94c80025aa49557d8f26.tar.xz gsoc2013-evolution-562afc46d5e83393978d94c80025aa49557d8f26.tar.zst gsoc2013-evolution-562afc46d5e83393978d94c80025aa49557d8f26.zip |
new function, taking code from func_contains to get string properties.
* addressbook/backend/pas/pas-backend-file.c
(get_e_card_prop): new function, taking code from func_contains to
get string properties.
(entry_compare): new function generic, taking strstr-like function
as a parameter.
(func_contains): rewrite function to use entry_compare.
(is_helper): new helper function to map strcmp to a strstr-like
function.
(func_is): new function, implementing "is" for searches.
(endswith_helper): new function.
(func_endswith) new function, implementing "endswith" for searches.
(beginswith_helper): new function.
(func_beginswith): new function, implementing "beginswith" for searches.
svn path=/trunk/; revision=2392
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions