diff options
| author | 2024-05-08 11:00:50 +0200 | |
|---|---|---|
| committer | 2024-05-08 11:00:50 +0200 | |
| commit | 52ba7f030ed50f22b7fbf437e83c9415ed0e91ed (patch) | |
| tree | 83fa1f640cf4f4f9082074f499a31743ba46d134 /data.c | |
| parent | Added a timeout flag to search_by_content(). (diff) | |
| download | snac2-52ba7f030ed50f22b7fbf437e83c9415ed0e91ed.tar.gz snac2-52ba7f030ed50f22b7fbf437e83c9415ed0e91ed.tar.xz snac2-52ba7f030ed50f22b7fbf437e83c9415ed0e91ed.zip | |
Renamed to content_search().
Diffstat (limited to 'data.c')
| -rw-r--r-- | data.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -2490,7 +2490,7 @@ void notify_clear(snac *snac) | |||
| 2490 | 2490 | ||
| 2491 | /** searches **/ | 2491 | /** searches **/ |
| 2492 | 2492 | ||
| 2493 | xs_list *search_by_content(snac *user, const xs_list *timeline, | 2493 | xs_list *content_search(snac *user, const xs_list *timeline, |
| 2494 | const char *regex, int max_secs, int *timeout) | 2494 | const char *regex, int max_secs, int *timeout) |
| 2495 | /* returns a list of posts which content matches the regex */ | 2495 | /* returns a list of posts which content matches the regex */ |
| 2496 | { | 2496 | { |