Scroll to navigation

MONGOC_SERVER_DESCRIPTION_TYPE(3) Library Functions Manual MONGOC_SERVER_DESCRIPTION_TYPE(3)

NAME

mongoc_server_description_type() - This function returns a string, one of the server types defined Server Discovery And Monitoring Spec:

SYNOPSIS


const char * mongoc_server_description_type (const mongoc_server_description_t *description);

PARAMETERS

description
A mongoc_server_description_t

DESCRIPTION

This function returns a string, one of the server types defined Server Discovery And Monitoring Spec:

Standalone
Mongos
PossiblePrimary
RSPrimary
RSSecondary
RSArbiter
RSOther
RSGhost
Unknown

COLOPHON

This page is part of MongoDB C Driver. Please report any bugs at https://jira.mongodb.org/browse/CDRIVER.
2016‐10‐12 MongoDB C Driver