Revision 4affd2bf include/chunkbuffer.h

View differences:

include/chunkbuffer.h
56 56
 *
57 57
 * Provide an (ordered) list of the chunks which are currently stored in
58 58
 * the specified chunk buffer. Such list is stored in a C arrary (so,
59
 * after calling chunks_array = cb_get_chunks(cb), chunks\_array[i]
59
 * after calling chunks_array = cb_get_chunks(cb), chunks_array[i]
60 60
 * contains the i^th chunk).
61 61
 *
62 62
 * @param cb a pointer to the chunks buffer
......
92 92
/*
93 93
 * HA Functions
94 94
 */
95

  
96
/**
97
 * Get a specific chunk from a buffer
98
 *
99
 * Provide one single chunk from the specified chunkbuffer,
100
 * with the requested identifier.
101
 *
102
 * @param cb a pointer to the chunk buffer
103
 * @param id the identifier of the chunk to be returned
104
 * @return a pointer to the requested chunk
105
*/
95 106
const struct chunk *cb_get_chunk(const struct chunk_buffer *cb, int id);
96 107

  
97 108
#endif	/* CHUNKBUFFER_H */

Also available in: Unified diff