pidgin/pidgin

simple: Convert TCP listener to gio.

2020-05-16, Elliott Sales de Andrade
c010c54a719d
simple: Convert TCP listener to gio.

Note, this no longer defaults to a fixed range of ports (5060-5160), but
that appears unnecessary. The SIP RFC3261 says that 5060 is the default
if a port is not specified, but we always include our port in the Via
header. Thus there's no reason to restrict ports to any particular
range.
SIMPLESOURCES = [
'http.c',
'http.h',
'ntlm.c',
'ntlm.h',
'simple.c',
'simple.h',
'sipmsg.c',
'sipmsg.h'
]
if DYNAMIC_SIMPLE
simple_prpl = shared_library('simple', SIMPLESOURCES,
dependencies : [libpurple_dep, nettle, glib, gio, ws2_32],
install : true, install_dir : PURPLE_PLUGINDIR)
endif