...G...PS. [ZBX-8494] added check to prevent starting a proxy with a server database and vice versa

Before this change:
   - the proxy crashed when started with a database prepared for Zabbix server.

After this change:
   - server checks is it started with server database,
   - proxy checks is it started with proxy database,
   - if wrong type of database is detected, the server or proxy terminates.
   - a number of function prototypes have been fixed in server, proxy and agent.


git-svn-id: svn://svn.zabbix.com/trunk@48516 f4e7fd02-d210-4e34-a1e0-d4093fb66cc2
..F....PS. [ZBXNEXT-282] allow specifying client private key passphrase without specifying private key file

This is the case when client certificate is combined with private key file.


git-svn-id: svn://svn.zabbix.com/trunk@48523 f4e7fd02-d210-4e34-a1e0-d4093fb66cc2
.......PS. [ZBX-8494] fixed code formatting and comments

git-svn-id: svn://svn.zabbix.com/trunk@48535 f4e7fd02-d210-4e34-a1e0-d4093fb66cc2