blob: 69eba4a1df2933e4f32307c72ff8988ab4a4e04f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
/** @file
*
* Various decompression routines used by RDP
*
* Copyright (c) 2021 by David Fort <contact@hardening-consulting.com>
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <gerald@wireshark.org>
* Copyright 1998 Gerald Combs
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef __TVBUFF_RDP_H__
#define __TVBUFF_RDP_H__
#include <glib.h>
#include <epan/wmem_scopes.h>
#include <epan/tvbuff.h>
typedef struct _zgfx_context_t zgfx_context_t;
zgfx_context_t *zgfx_context_new(wmem_allocator_t *allocator);
tvbuff_t *rdp8_decompress(zgfx_context_t *zgfx, wmem_allocator_t *allocator, tvbuff_t *tvb, guint offset);
#endif /* __TVBUFF_RDP_H__ */
|