1 #ifndef CUSTOM_OUTPUT_SEARCH_H_
2 #define CUSTOM_OUTPUT_SEARCH_H_
4 /* Search for 'search' in string and replaces it by value
5 * Returns NULL on error, otherwise returns the orig string with the replacements
7 char *searchAndReplace(const char *orig, const char *search, const char *value) __attribute__((nonnull));
9 /* Escape the newline characters
10 * Returns NULL on error, otherwise returns a newly allocated string
12 char *escape_newlines(const char *orig) __attribute__((nonnull));
14 #endif /* CUSTOM_OUTPUT_SEARCH_H_ */