Revision fa81d544 chunk_signaling.h

View differences:

chunk_signaling.h
1 1
#ifndef CHUNK_SIGNALING_H
2 2
#define CHUNK_SIGNALING_H
3 3

  
4
#include "chunkidset.h"
5

  
4 6
//Type of signaling message
5 7
//Request a ChunkIDSet
6 8
#define MSG_SIG_REQ 0
......
24 26
} ;
25 27

  
26 28

  
29
int sigParseData(uint8_t *buff, int buff_len);
30

  
31
int sendBufferMap(const struct nodeID *to_id, const struct nodeID *owner_id, ChunkIDSet *bmap, int bmap_len, int trans_id);
32

  
33
int sendMyBufferMap(const struct nodeID *to_id, ChunkIDSet *bmap, int bmap_len, int trans_id);
34

  
27 35
/**
28 36
  * Init the chunk signaling stuff...
29 37
  *

Also available in: Unified diff