Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

18 lines (14 sloc) 0.781 kb
#ifndef __MCON_PARSE_H__
#define __MCON_PARSE_H__
#include "types.h"
#define MONGO_SERVER_COPY_NONE 0x00
#define MONGO_SERVER_COPY_CREDENTIALS 0x01
/* Parsing server connection strings and its cleanup routines */
mongo_servers* mongo_parse_init(void);
int mongo_parse_server_spec(mongo_con_manager *manager, mongo_servers *servers, char *spec, char **error_message);
int mongo_store_option(mongo_con_manager *manager, mongo_servers *servers, char *option_name, char *option_value, char **error_message);
void mongo_servers_dump(mongo_con_manager *manager, mongo_servers *servers);
void mongo_servers_copy(mongo_servers *to, mongo_servers *from, int flags);
void mongo_server_def_dtor(mongo_server_def *server_def);
void mongo_servers_dtor(mongo_servers *servers);
#endif
Jump to Line
Something went wrong with that request. Please try again.