X-Git-Url: https://git.octo.it/?p=libpopulation.git;a=blobdiff_plain;f=src%2Fpopulation.h;h=64b3d8f7f6d59de76a10f832b68ff57936d97949;hp=a512b4093494a1853ed3dd531c926ce104eda0a7;hb=75002085c2d5746270796f0d0332752e52702331;hpb=00bb95ea0c77d776efebda521c57b8d272e2d908 diff --git a/src/population.h b/src/population.h index a512b40..64b3d8f 100644 --- a/src/population.h +++ b/src/population.h @@ -34,6 +34,9 @@ int population_set_size (population_t *p, size_t population_size); int population_set_serialization (population_t *p, pi_serialize_f serialize, pi_unserialize_f unserialize); +#define POPULATION_DEFAULT_PORT "46835" +int population_add_peer (population_t *p, const char *node, const char *port); + /* * Methods */