regen pidl all: rm epan/dissectors/pidl/*-stamp; pushd epan/dissectors/pidl/ && make...
[wireshark-sm.git] / wiretap / logcat_text.h
blobad8c830000480a115eac5b5b684f82a98f4c29e8
1 /** @file
3 * Copyright 2014, Michal Orynicz for Tieto Corporation
5 * SPDX-License-Identifier: GPL-2.0-or-later
7 */
9 #ifndef __LOGCAT_TEXT_H__
10 #define __LOGCAT_TEXT_H__
12 #include <glib.h>
14 #include "wtap.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);
27 #endif
30 * Editor modelines - https://www.wireshark.org/tools/modelines.html
32 * Local variables:
33 * c-basic-offset: 4
34 * tab-width: 8
35 * indent-tabs-mode: nil
36 * End:
38 * vi: set shiftwidth=4 tabstop=8 expandtab:
39 * :indentSize=4:tabSize=8:noTabs=true: