Wireshark 2.9.0-477-g68ec514b The Wireshark network protocol analyzer

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

logcat_text.h
1 /* logcat_text.h
2 *
3 * Copyright 2014, Michal Orynicz for Tieto Corporation
4 *
5 * SPDX-License-Identifier: GPL-2.0-or-later
6 *
7 */
8
9 #ifndef __LOGCAT_TEXT_H__
10 #define __LOGCAT_TEXT_H__
11
12 #include <glib.h>
13
14 #include "wtap.h"
15
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(.*)"
24
25 wtap_open_return_val logcat_text_open(wtap *wth, int *err, gchar **err_info);
26
27 gboolean logcat_text_brief_dump_open(wtap_dumper *wdh, int *err);
28 gboolean logcat_text_process_dump_open(wtap_dumper *wdh, int *err);
29 gboolean logcat_text_tag_dump_open(wtap_dumper *wdh, int *err);
30 gboolean logcat_text_time_dump_open(wtap_dumper *wdh, int *err);
31 gboolean logcat_text_thread_dump_open(wtap_dumper *wdh, int *err);
32 gboolean logcat_text_threadtime_dump_open(wtap_dumper *wdh, int *err);
33 gboolean logcat_text_long_dump_open(wtap_dumper *wdh, int *err);
34
35 int logcat_text_brief_dump_can_write_encap(int encap);
36 int logcat_text_tag_dump_can_write_encap(int encap);
37 int logcat_text_process_dump_can_write_encap(int encap);
38 int logcat_text_thread_dump_can_write_encap(int encap);
39 int logcat_text_time_dump_can_write_encap(int encap);
40 int logcat_text_threadtime_dump_can_write_encap(int encap);
41 int logcat_text_long_dump_can_write_encap(int encap);
42
43 #endif
44
45 /*
46 * Editor modelines - http://www.wireshark.org/tools/modelines.html
47 *
48 * Local variables:
49 * c-basic-offset: 4
50 * tab-width: 8
51 * indent-tabs-mode: nil
52 * End:
53 *
54 * vi: set shiftwidth=4 tabstop=8 expandtab:
55 * :indentSize=4:tabSize=8:noTabs=true:
56 */
wtap
Definition: wtap-int.h:34
wtap_dumper
Definition: wtap-int.h:86