Revision 005954ae include/topmanager.h

View differences:

include/topmanager.h
1 1
#ifndef TOPMAN_H
2 2
#define TOPMAN_H
3 3
const struct nodeID **topGetNeighbourhood(int *n);
4
const void **topGetMetadata(int *metadata_size);
4 5
int topGrowNeighbourhood(int n);
5 6
int topShrinkNeighbourhood(int n);
6 7
int topRemoveNeighbour(struct nodeID *neighbour);
7 8

  
8 9

  
9
int topInit(struct nodeID *myID);
10
int topAddNeighbour(struct nodeID *neighbour);
10
int topInit(struct nodeID *myID, void *metadata, int metadata_size);
11
int topAddNeighbour(struct nodeID *neighbour, void *metadata, int metadata_size);
11 12
int topParseData(const uint8_t *buff, int len);
12 13

  
13 14
/*

Also available in: Unified diff