From: Kern Sibbald Date: Tue, 16 Mar 2010 09:00:11 +0000 (+0100) Subject: Tweak: comments X-Git-Tag: Release-5.2.1~1590 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=df5ddc3a3b60f2fa187b7b97d4066ad4ce66a1ad;p=bacula%2Fbacula Tweak: comments --- 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