diff options
author | Saya Sugiura <ssugiura@jp.adit-jv.com> | 2019-07-08 16:25:05 +0900 |
---|---|---|
committer | Saya Sugiura <39760799+ssugiura@users.noreply.github.com> | 2019-07-19 14:46:29 +0900 |
commit | 0d3cd872a6ab5a14cfb66bb7faa5a6d83ad3c5ea (patch) | |
tree | c766a223d631df369d8939c4ec1d38fa1a1b3e67 /src/lib/dlt_filetransfer.c | |
parent | 868d212f5de18d084f5bcb88154ee7bad77ca71b (diff) | |
download | DLT-daemon-0d3cd872a6ab5a14cfb66bb7faa5a6d83ad3c5ea.tar.gz |
doxygen: Get rid of warnings
Signed-off-by: Saya Sugiura <ssugiura@jp.adit-jv.com>
Diffstat (limited to 'src/lib/dlt_filetransfer.c')
-rw-r--r-- | src/lib/dlt_filetransfer.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/lib/dlt_filetransfer.c b/src/lib/dlt_filetransfer.c index 3304ff6..8175e13 100644 --- a/src/lib/dlt_filetransfer.c +++ b/src/lib/dlt_filetransfer.c @@ -79,6 +79,7 @@ unsigned char buffer[BUFFER_SIZE]; /*!Get some information about the file size of a file */ /**See stat(2) for more informations. * @param file Absolute file path + * @param ok Result of stat * @return Returns the size of the file (if it is a regular file or a symbolic link) in bytes. */ uint32_t getFilesize(const char *file, int *ok) @@ -120,7 +121,7 @@ void stringHash(const char *str, uint32_t *hash) /*!Get some information about the file serial number of a file */ /** See stat(2) for more informations. * @param file Absolute file path - * @param value *ok == 0 -> error; *ok == 1 -> ok + * @param ok *ok == 0 -> error; *ok == 1 -> ok * @return Returns a unique number associated with each filename */ uint32_t getFileSerialNumber(const char *file, int *ok) @@ -147,6 +148,7 @@ uint32_t getFileSerialNumber(const char *file, int *ok) /*!Returns the creation date of a file */ /** See stat(2) for more informations. * @param file Absolute file path + * @param ok Result of stat * @return Returns the creation date of a file */ time_t getFileCreationDate(const char *file, int *ok) @@ -165,6 +167,8 @@ time_t getFileCreationDate(const char *file, int *ok) /*!Returns the creation date of a file */ /** Format of the creation date is Day Mon dd hh:mm:ss yyyy * @param file Absolute file path + * @param ok Result of stat + * @param date Local time * @return Returns the creation date of a file */ void getFileCreationDate2(const char *file, int *ok, char *date) @@ -206,7 +210,7 @@ void doTimeout(int timeout) /*!Checks free space of the user buffer */ /** - * @param returns -1 if more than 50% space in the user buffer is free. Otherwise 1 will be returned. + * @return -1 if more than 50% space in the user buffer is free. Otherwise 1 will be returned. */ int checkUserBufferForFreeSpace() { |