more decompress
[wireshark-sm.git] / epan / services.h
blob4353de3085943759a8f8c9bd4f4494a667d8b997
1 /* services.h
3 * Wireshark - Network traffic analyzer
4 * By Gerald Combs <gerald@wireshark.org>
5 * Copyright 1998 Gerald Combs
7 * SPDX-License-Identifier: GPL-2.0-or-later
8 */
10 #include <wireshark.h>
12 typedef enum {
13 ws_tcp,
14 ws_udp,
15 ws_sctp,
16 ws_dccp,
17 } ws_services_proto_t;
19 typedef struct {
20 uint16_t port;
21 const char *name;
22 const char *description;
23 } ws_services_entry_t;
25 ws_services_entry_t const *
26 global_services_lookup(uint16_t value, ws_services_proto_t proto);
28 WS_DLL_PUBLIC void
29 global_services_dump(FILE *fp);