-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #45 from wazuh/enhancement/17-migrate-syscollector…
…-to-inventory-at-new-agent Migrate Syscollector to Inventory at new-agent repository
- Loading branch information
Showing
349 changed files
with
5,575 additions
and
19,249 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
add_library(binaries_op STATIC src/binaries_op.c) | ||
|
||
target_include_directories(binaries_op PUBLIC include) | ||
|
||
target_link_libraries(binaries_op | ||
utils | ||
Logger | ||
time_op) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
add_library(bzip2_op STATIC src/bzip2_op.c) | ||
|
||
target_include_directories(bzip2_op PUBLIC include ../logger/include) | ||
|
||
target_link_libraries(bzip2_op | ||
utils | ||
Logger | ||
time_op) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
/* | ||
* Copyright (C) 2015, Wazuh Inc. | ||
* April, 2020. | ||
* | ||
* This program is free software; you can redistribute it | ||
* and/or modify it under the terms of the GNU General Public | ||
* License (version 2) as published by the FSF - Free Software | ||
* Foundation. | ||
*/ | ||
|
||
#ifndef BZIP2_OP_H | ||
#define BZIP2_OP_H | ||
|
||
#include <bzlib.h> | ||
|
||
#define BZIP2_BUFFER_SIZE 4096 | ||
|
||
/** | ||
* @brief bzpi2 library, function to compress | ||
* | ||
* @param file File path to compress | ||
* @param filebz2 File name compressed | ||
* | ||
* @retval 0 on success | ||
* @retval -1 on error | ||
*/ | ||
int bzip2_compress(const char *file, const char *filebz2); | ||
|
||
/** | ||
* @brief bzpi2 library, function to uncompress | ||
* | ||
* @param filebz2 File path to uncompress | ||
* @param file File name uncompressed | ||
* | ||
* @retval 0 on success | ||
* @retval -1 on error | ||
*/ | ||
int bzip2_uncompress(const char *filebz2, const char *file); | ||
|
||
#endif /* BZIP2_OP_H */ |
Oops, something went wrong.