fixed doxygen warnings

This commit is contained in:
Fufu Fang 2019-04-24 00:33:20 +01:00
parent 797501514d
commit 2ebf37fb65
3 changed files with 5 additions and 4 deletions

View File

@ -694,6 +694,7 @@ static int Seg_exist(Cache *cf, off_t offset)
}
/**
* \brief Set the existence of a segment
* \param[in] cf the cache in-memory data structure
* \param[in] offset the starting position of the segment.
* \param[in] i 1 for exist, 0 for doesn't exist
* \note Call this after downloading a segment.

View File

@ -94,12 +94,12 @@ void Cache_delete(const char *fn);
* \details If the segment does not exist on the local hard disk, download from
* the Internet
* \param[in] cf the cache in-memory data structure
* \param[out] buf the output buffer
* \param[in] size the requested segment size
* \param[out] output_buf the output buffer
* \param[in] len the requested segment size
* \param[in] offset the start of the segment
* \return the length of the segment the cache system managed to obtain.
* \note Called by fs_read(), verified to be working
*/
long Cache_read(Cache *cf, char *output_buf, off_t size, off_t offset);
long Cache_read(Cache *cf, char *output_buf, off_t len, off_t offset);
#endif

View File

@ -12,7 +12,7 @@
* the result in a new string.
* \param[in] a the first string
* \param[in] b the second string
* \param[n] c the maximum length of the output string
* \param[in] n the maximum length of the output string
*/
char *strndupcat(const char *a, const char *b, int n);