pidgin/pidgin

Fix SILC compilation

2021-02-12, Arkadiy Illarionov
2214cc7b95ca
Fix SILC compilation

* Move `_purple_fstat` to silc and rename to `silcpurple_fstat`
* Replace unknown `g_fchmod` with `fchmod`
* Fix `PurpleProtocol*` prototypes
* Derive `SilcPurpleXfer` from `PurpleXfer`

Testing Done:
Compile.

Bugs closed: PIDGIN-17436

Reviewed at https://reviews.imfreedom.org/r/481/
if ENABLE_DOC
subdir('reference')
endif
if ENABLE_GTK
pidgin_man = configure_file(
input : 'pidgin3.1.in',
output : 'pidgin3.1',
configuration : man_conf,
install : true,
install_dir : get_option('mandir') / 'man1')
endif
if enable_consoleui
finch_man = configure_file(
input : 'finch3.1.in',
output : 'finch3.1',
configuration : man_conf,
install : true,
install_dir : get_option('mandir') / 'man1')
endif