text: struct login_settings
  {
    unsigned short port;
    int enabled;
    long flags;
    struct config_setting_t *pointer;
    struct connection_pair *pairs;
    const char *host;
    const char *jid;
    const char *pass;
    const char *capath;
    const char *cafile;
  };
  
  struct config_pointer
  {
    int login_count;
    struct config_t *pointer;
  };
  
  struct config_pointer *open_config(const char *file, struct login_settings **config, struct config_pointer *configPtr);
  void close_config(struct config_pointer *configPtr);
  