2 * custom_output_search.h
4 * Created on: 10/10/2012
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.
14 char * searchAndReplace(char* orig, char* search, char*value);
16 /** char* escape_newlines(char *orig);
17 * Escape the newlines characters
18 * Returns NULL on error, otherwise returns a new allocated string.
20 char* escape_newlines(char *orig);
23 #endif /* CUSTOM_OUTPUT_SEARCH_H_ */
25 * custom_output_search.h
27 * Created on: 10/10/2012
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.
37 char * searchAndReplace(char* orig, char* search, char*value);
41 #endif /* CUSTOM_OUTPUT_SEARCH_H_ */
43 * custom_output_search.h
45 * Created on: 10/10/2012
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.
55 char * searchAndReplace(char* orig, char* search, char*value);
59 #endif /* CUSTOM_OUTPUT_SEARCH_H_ */
61 * custom_output_search.h
63 * Created on: 10/10/2012
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.
73 char * searchAndReplace(char* orig, char* search, char*value);
77 #endif /* CUSTOM_OUTPUT_SEARCH_H_ */