new upstream release (3.3.0); modify package compatibility for Stretch
[ossec-hids.git] / src / headers / custom_output_search.h
1 #ifndef CUSTOM_OUTPUT_SEARCH_H_
2 #define CUSTOM_OUTPUT_SEARCH_H_
3
4 /* Search for 'search' in string and replaces it by value
5  * Returns NULL on error, otherwise returns the orig string with the replacements
6  */
7 char *searchAndReplace(const char *orig, const char *search, const char *value) __attribute__((nonnull));
8
9 /* Escape the newline characters
10  * Returns NULL on error, otherwise returns a newly allocated string
11  */
12 char *escape_newlines(const char *orig) __attribute__((nonnull));
13
14 #endif /* CUSTOM_OUTPUT_SEARCH_H_ */
15