Revision 8d11c217 include/chunkidset.h

View differences:

include/chunkidset.h
24 24
*/
25 25
typedef struct chunkID_set ChunkIDSet;
26 26

  
27
#define CHUNKID_INVALID (uint32_t)-1
27
#define CHUNKID_INVALID (uint32_t)-1	/**< Trying to get a chunk ID from an empty set */
28 28

  
29 29
 /**
30 30
  * @brief Allocate a chunk ID set.
......
119 119
  */
120 120
void chunkID_set_free(struct chunkID_set *h);
121 121

  
122
 /**
123
  * @brief Get the smallest chunk ID from a set
124
  * 
125
  * Return the ID of the earliest chunk from the the set.
126
  *
127
  * @param h a pointer to the set
128
  * @return the chunk ID in case of success, or CHUNKID_INVALID on error
129
  */
122 130
uint32_t chunkID_set_get_earliest(const struct chunkID_set *h);
123 131

  
132
 /**
133
  * @brief Get the largest chunk ID from a set
134
  * 
135
  * Return the ID of the latest chunk from the the set.
136
  *
137
  * @param h a pointer to the set
138
  * @return the chunk ID in case of success, or CHUNKID_INVALID on error
139
  */
124 140
uint32_t chunkID_set_get_latest(const struct chunkID_set *h);
125 141

  
126 142
#endif	/* CHUNKIDSET_H */

Also available in: Unified diff