This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <mongoc.h> | |
#include <bson.h> | |
void execute_ping(mongoc_client_t *client) | |
{ | |
bson_error_t error; | |
bson_t *reply = bson_new(); | |
mongoc_database_t *database = mongoc_client_get_database(client, "admin"); | |
bson_t *command = BCON_NEW("ping", BCON_INT32(1)); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2019-08-15 12:43:48 - [sway-1.1.1/sway/main.c:151] Linux arch-hak 5.1.21-1-MANJARO #1 SMP PREEMPT Sun Jul 28 09:33:43 UTC 2019 x86_64 GNU/Linux | |
2019-08-15 12:43:48 - [sway-1.1.1/sway/main.c:167] Contents of /etc/lsb-release: | |
2019-08-15 12:43:48 - [sway-1.1.1/sway/main.c:151] DISTRIB_ID=ManjaroLinux | |
2019-08-15 12:43:48 - [sway-1.1.1/sway/main.c:151] DISTRIB_RELEASE=18.0.4 | |
2019-08-15 12:43:48 - [sway-1.1.1/sway/main.c:151] DISTRIB_CODENAME=Illyria | |
2019-08-15 12:43:48 - [sway-1.1.1/sway/main.c:151] DISTRIB_DESCRIPTION="Manjaro Linux" | |
2019-08-15 12:43:48 - [sway-1.1.1/sway/main.c:167] Contents of /etc/os-release: | |
2019-08-15 12:43:48 - [sway-1.1.1/sway/main.c:151] NAME="Manjaro Linux" | |
2019-08-15 12:43:48 - [sway-1.1.1/sway/main.c:151] ID=manjaro | |
2019-08-15 12:43:48 - [sway-1.1.1/sway/main.c:151] ID_LIKE=arch |