pidgin/pidgin

Use ZSubscription_t in zephyr_triple

2021-01-25, Arkadiy Illarionov
1bad06536f81
Use ZSubscription_t in zephyr_triple

* Change some functions to use `ZSubscription_t`
* Cleanup redundant `zephyr_triple` allocations
* Inline `zephyr_subscribe_failed`
* Replace `find_sub_by_sub` and `find_sub_by_id` with `g_slist_find_custom`
* Rename functions related to `zephyr_triple`

Testing Done:
Compile.

Reviewed at https://reviews.imfreedom.org/r/450/
if PLUGINS
subdir('kwallet')
if nettle.found()
internalkeyring_plugin = library('internalkeyring', 'internalkeyring.c',
dependencies : [nettle, libpurple_dep],
name_prefix : '',
install : true, install_dir : PURPLE_PLUGINDIR)
endif
if secretservice.found()
secretsservice_plugin = library('secretservice', 'secretservice.c',
dependencies : [secretservice, libpurple_dep],
name_prefix : '',
install : true, install_dir : PURPLE_PLUGINDIR)
endif
if IS_WIN32
wincred_plugin = library('wincred', 'wincred.c',
dependencies : [libpurple_dep],
name_prefix : '',
install : true, install_dir : PURPLE_PLUGINDIR)
endif
endif # PLUGINS