summaryrefslogblamecommitdiffstats
path: root/src/server/altservers.h
blob: e080d13db575474e119626d565cefe894dbe8dfe (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11






                      



                                                            






                                                                                        
#ifndef _ALTSERVERS_H_
#define _ALTSERVERS_H_

#include "globals.h"

void altserver_init();

int altservers_load();

int altservers_add(dnbd3_host_t *host, const char *comment);

void altserver_find_uplink(dnbd3_connection_t *uplink);

int altservers_get_matching(dnbd3_host_t *host, dnbd3_server_entry_t *output, int size);

int altservers_net_closeness(dnbd3_host_t *host1, dnbd3_host_t *host2);

#endif /* UPLINK_CONNECTOR_H_ */