summaryrefslogtreecommitdiffstats
path: root/epan/dissectors/file-rbm.h
blob: 5869fe7da3f2a454a83da695676ba8f622e66140 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* file-ruby_marshal.h
 *
 * Wireshark - Network traffic analyzer
 * By Gerald Combs <gerald@wireshark.org>
 * Copyright 1998 Gerald Combs
 *
 * SPDX-License-Identifier: GPL-2.0-or-later
 */


#ifndef __FILE_RBM_H__
#define __FILE_RBM_H__

// Dissect one ruby marshal object
void dissect_rbm_inline(tvbuff_t* tvb, packet_info* pinfo, proto_tree* tree, unsigned* offset, char** type, char** value);

// Extract a ruby marshal integer
void get_rbm_integer(tvbuff_t* tvb, unsigned offset, int32_t* value, int* len);

#endif