using set_server fn in server-side programs
This commit is contained in:
parent
ffcdfa0657
commit
fa6826ca05
@ -35,6 +35,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|||||||
|
|
||||||
int main(void)
|
int main(void)
|
||||||
{
|
{
|
||||||
|
__why2_chat_set_server(1);
|
||||||
why2_check_version(); //CHECK FOR UPDATES
|
why2_check_version(); //CHECK FOR UPDATES
|
||||||
why2_chat_init_authority(); //CREATE AUTHORITY DIRECTORY
|
why2_chat_init_authority(); //CREATE AUTHORITY DIRECTORY
|
||||||
why2_chat_init_keys(); //CREATE ECC KEY
|
why2_chat_init_keys(); //CREATE ECC KEY
|
||||||
|
@ -35,6 +35,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|||||||
|
|
||||||
int main(void)
|
int main(void)
|
||||||
{
|
{
|
||||||
|
__why2_chat_set_server(1);
|
||||||
why2_check_version(); //CHECK FOR UPDATES
|
why2_check_version(); //CHECK FOR UPDATES
|
||||||
why2_chat_init_server_config(); //CREATE server.toml CONFIGURATION
|
why2_chat_init_server_config(); //CREATE server.toml CONFIGURATION
|
||||||
why2_chat_init_keys(); //CREATE ECC KEY
|
why2_chat_init_keys(); //CREATE ECC KEY
|
||||||
|
Loading…
x
Reference in New Issue
Block a user