pidgin/pidgin

Use a GQueue for zephyr plus related cleanup

2020-11-25, Elliott Sales de Andrade
4266008a7791
Use a GQueue for zephyr plus related cleanup

* Make `_Z_InputQ->complete` a boolean, as that's all it's used as.
* Use GLib allocation functions for `Z_InputQ` members.
* Use a `GQueue` for zephyr input.
* Use `*_find_custom` functions for input queue search.

Testing Done:
Compile only.

Reviewed at https://reviews.imfreedom.org/r/253/
SILCSOURCES = [
'buddy.c',
'chat.c',
'ft.c',
'ops.c',
'pk.c',
'silc.c',
'silcpurple.h',
'util.c',
'wb.c',
'wb.h'
]
if DYNAMIC_SILC
silc_prpl = shared_library('silcpurple', SILCSOURCES,
dependencies : [silc, libpurple_dep, glib],
install : true, install_dir : PURPLE_PLUGINDIR)
endif