From df5ddc3a3b60f2fa187b7b97d4066ad4ce66a1ad Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Tue, 16 Mar 2010 10:00:11 +0100 Subject: [PATCH] Tweak: comments --- bacula/src/findlib/bfile.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/bacula/src/findlib/bfile.c b/bacula/src/findlib/bfile.c index 1bc4423a9f..a338f2acc4 100644 --- a/bacula/src/findlib/bfile.c +++ b/bacula/src/findlib/bfile.c @@ -187,7 +187,9 @@ const char *stream_to_ascii(int stream) } } - +/** + * Convert a 64 bit little endian to a big endian + */ void int64_LE2BE(int64_t* pBE, const int64_t v) { /* convert little endian to big endian */ @@ -205,7 +207,9 @@ void int64_LE2BE(int64_t* pBE, const int64_t v) } } - +/** + * Convert a 32 bit little endian to a big endian + */ void int32_LE2BE(int32_t* pBE, const int32_t v) { /* convert little endian to big endian */ @@ -224,6 +228,9 @@ void int32_LE2BE(int32_t* pBE, const int32_t v) } +/** + * Read a BackupRead block and pull out the file data + */ bool processWin32BackupAPIBlock (BFILE *bfd, void *pBuffer, ssize_t dwSize) { /* pByte contains the buffer -- 2.39.5