|
@@ -74,7 +74,7 @@ ttail_cmp_res ttail_cmp_logline(ttail_t*, const char*, struct tm*);
|
74
|
74
|
*@param ttail_t* ttail
|
75
|
75
|
*@param const char* logline
|
76
|
76
|
*@param struct tm* tm will be set to extracted date if not NULL
|
77
|
|
- *@return 0 if ok, -1 if error
|
|
77
|
+ *@return 0 if ok, -1 if error 1 if no date found
|
78
|
78
|
*/
|
79
|
79
|
int ttail_logline2date(ttail_t*, const char*, struct tm*);
|
80
|
80
|
|
|
@@ -85,18 +85,4 @@ int ttail_logline2date(ttail_t*, const char*, struct tm*);
|
85
|
85
|
*/
|
86
|
86
|
const char* ttail_logline_subst(ttail_t*, const char*);
|
87
|
87
|
|
88
|
|
-/**@brief Regex logline prefix substitution
|
89
|
|
- *@param ttail_t* ttail
|
90
|
|
- *@param const char* logline
|
91
|
|
- *@return a pointer on the end of the subst string
|
92
|
|
- */
|
93
|
|
-const char* _ttail_logline_subst_re(ttail_t*, const char*);
|
94
|
|
-
|
95
|
|
-/**@brief Static len logline prefix substitution
|
96
|
|
- *@param ttail_t* ttail
|
97
|
|
- *@param const char* logline
|
98
|
|
- *@return a pointer on the end of the subst string
|
99
|
|
- */
|
100
|
|
-const char* _ttail_logline_subst_len(ttail_t*, const char*);
|
101
|
|
-
|
102
|
88
|
#endif
|