X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=src%2Fos_zlib%2Fos_zlib.h;h=9c3303e1fa4ad1a28dae0ffaa6d5e35d36d333c9;hb=3f728675941dc69d4e544d3a880a56240a6e394a;hp=24b992f0c46fd6fb7b6d4d15f2f9e90083d22f30;hpb=789cbc8e52da68eba3517b920ef22e000cf3c9fd;p=ossec-hids.git diff --git a/src/os_zlib/os_zlib.h b/src/os_zlib/os_zlib.h old mode 100755 new mode 100644 index 24b992f..9c3303e --- a/src/os_zlib/os_zlib.h +++ b/src/os_zlib/os_zlib.h @@ -7,34 +7,32 @@ * Foundation */ - #ifndef __OS_ZLIB_H #define __OS_ZLIB_H -#include "zlib.h" - -/** - * @brief Compress a string with zlib. - * @param[in] src the source string to compress - * @param[out] dst the destination buffer for the compressed string, will be null-terminated on success - * @param[in] src_size the length of the source string - * @param[in] dst_size the size of the destination buffer - * @return 0 on failure, else the length of the compressed string +/* Compress a string with zlib + * src: the source string to compress + * dst: the destination buffer for the compressed string, will be + * null-terminated on success + * src_size: the length of the source string + * dst_size: the size of the destination buffer + * Returns 0 on failure, else the length of the compressed string */ -unsigned long int os_zlib_compress(const char *src, char *dst, unsigned long int src_size, - unsigned long int dst_size); +unsigned long int os_zlib_compress(const char *src, char *dst, + unsigned long int src_size, + unsigned long int dst_size); -/** - * @brief Uncompress a string with zlib. - * @param[in] src the source string to uncompress - * @param[out] dst the destination buffer for the uncompressed string, will be null-terminated on success - * @param[in] src_size the length of the source string - * @param[in] dst_size the size of the destination buffer - * @return 0 on failure, else the length of the uncompressed string +/* Uncompress a string with zlib + * src: the source string to uncompress + * dst: the destination buffer for the uncompressed string, will be + * null-terminated on success + * src_size: the length of the source string + * dst_size: the size of the destination buffer + * Returns 0 on failure, else the length of the uncompressed string */ -unsigned long int os_zlib_uncompress(const char *src, char *dst, unsigned long int src_size, - unsigned long int dst_size); +unsigned long int os_zlib_uncompress(const char *src, char *dst, + unsigned long int src_size, + unsigned long int dst_size); #endif /* __OS_ZLIB_H */ -/* EOF */