novi upstream verzije 2.8.3
[ossec-hids.git] / src / headers / custom_output_search.h
1 /*
2  * custom_output_search.h
3  *
4  *  Created on: 10/10/2012
5  *      Author: crosa
6  */
7
8 #ifndef CUSTOM_OUTPUT_SEARCH_H_
9 #define CUSTOM_OUTPUT_SEARCH_H_
10 /** char *searchAndReplace(char* orig, char* search, char*value)
11  *  Searchs for 'search' on orig's string and replaces it by value.
12  *  Returns NULL on error, otherwise returns the orig string with the replacements.
13  */
14 char * searchAndReplace(char* orig, char* search, char*value);
15
16 /** char* escape_newlines(char *orig);
17  * Escape the newlines characters
18  * Returns NULL on error, otherwise returns a new allocated string.
19  */
20 char* escape_newlines(char *orig);
21
22
23 #endif /* CUSTOM_OUTPUT_SEARCH_H_ */
24 /*
25  * custom_output_search.h
26  *
27  *  Created on: 10/10/2012
28  *      Author: crosa
29  */
30
31 #ifndef CUSTOM_OUTPUT_SEARCH_H_
32 #define CUSTOM_OUTPUT_SEARCH_H_
33 /** char *searchAndReplace(char* orig, char* search, char*value)
34  *  Searchs for 'search' on orig's string and replaces it by value.
35  *  Returns NULL on error, otherwise returns the orig string with the replacements.
36  */
37 char * searchAndReplace(char* orig, char* search, char*value);
38
39
40
41 #endif /* CUSTOM_OUTPUT_SEARCH_H_ */
42 /*
43  * custom_output_search.h
44  *
45  *  Created on: 10/10/2012
46  *      Author: crosa
47  */
48
49 #ifndef CUSTOM_OUTPUT_SEARCH_H_
50 #define CUSTOM_OUTPUT_SEARCH_H_
51 /** char *searchAndReplace(char* orig, char* search, char*value)
52  *  Searchs for 'search' on orig's string and replaces it by value.
53  *  Returns NULL on error, otherwise returns the orig string with the replacements.
54  */
55 char * searchAndReplace(char* orig, char* search, char*value);
56
57
58
59 #endif /* CUSTOM_OUTPUT_SEARCH_H_ */
60 /*
61  * custom_output_search.h
62  *
63  *  Created on: 10/10/2012
64  *      Author: crosa
65  */
66
67 #ifndef CUSTOM_OUTPUT_SEARCH_H_
68 #define CUSTOM_OUTPUT_SEARCH_H_
69 /** char *searchAndReplace(char* orig, char* search, char*value)
70  *  Searchs for 'search' on orig's string and replaces it by value.
71  *  Returns NULL on error, otherwise returns the orig string with the replacements.
72  */
73 char * searchAndReplace(char* orig, char* search, char*value);
74
75
76
77 #endif /* CUSTOM_OUTPUT_SEARCH_H_ */