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/
NOVELLSOURCES = [
'nmfield.h',
'nmfield.c',
'nmconn.h',
'nmconn.c',
'nmconference.h',
'nmconference.c',
'nmcontact.h',
'nmcontact.c',
'nmevent.h',
'nmevent.c',
'nmmessage.h',
'nmmessage.c',
'nmrequest.h',
'nmrequest.c',
'nmrtf.h',
'nmrtf.c',
'nmuser.h',
'nmuser.c',
'nmuserrecord.h',
'nmuserrecord.c',
'novell.h',
'novell.c'
]
if DYNAMIC_NOVELL
novell_prpl = shared_library('novell', NOVELLSOURCES,
dependencies : [libpurple_dep, glib, ws2_32],
install : true, install_dir : PURPLE_PLUGINDIR)
endif