3 * Copyright 2014, Michal Orynicz for Tieto Corporation
5 * SPDX-License-Identifier: GPL-2.0-or-later
9 #ifndef __LOGCAT_TEXT_H__
10 #define __LOGCAT_TEXT_H__
16 #define SPECIAL_STRING "[-]+ (beginning of \\/?.+)"
17 #define BRIEF_STRING "([IVDWEF])/(.*?)\\( *(\\d+)\\): (.*)"
18 #define TAG_STRING "([IVDWEF])/(.*?): (.*)"
19 #define TIME_STRING "(\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}\\.\\d{3}) ([IVDWEF])/(.*?)\\( *(\\d+)\\): (.*)"
20 #define THREAD_STRING "([IVDWEF])\\( *(\\d+): *(\\d+)\\) (.*)"
21 #define PROCESS_STRING "([IVDWEF])\\( *(\\d+)\\) (.*)"
22 #define THREADTIME_STRING "(\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}\\.\\d{3}) +(\\d+) +(\\d+) ([IVDWEF]) (.*?): (.*)"
23 #define LONG_STRING "\\[ (\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}\\.\\d{3}) +(\\d+): *(\\d+) ([IVDWEF])/(.+) ]\\R(.*)"
25 wtap_open_return_val
logcat_text_open(wtap
*wth
, int *err
, char **err_info
);
30 * Editor modelines - https://www.wireshark.org/tools/modelines.html
35 * indent-tabs-mode: nil
38 * vi: set shiftwidth=4 tabstop=8 expandtab:
39 * :indentSize=4:tabSize=8:noTabs=true: