Wireshark
4.5.0
The Wireshark network protocol analyzer
Toggle main menu visibility
Main Page
Related Pages
Topics
Namespaces
Namespace List
Namespace Members
All
Variables
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
a
b
c
d
e
f
g
h
i
m
o
p
r
s
t
u
v
w
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
Functions
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
Variables
Typedefs
a
b
c
d
e
f
g
h
i
m
p
r
s
t
u
v
w
Enumerations
Enumerator
a
b
c
e
f
h
i
n
o
r
s
t
w
Macros
_
a
b
c
d
e
f
g
h
i
j
m
n
o
p
r
s
t
u
v
w
x
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
Loading...
Searching...
No Matches
wsutil
wmem
wmem_miscutl.h
Go to the documentation of this file.
1
12
#ifndef __WMEM_MISCUTL_H__
13
#define __WMEM_MISCUTL_H__
14
15
#include <string.h>
16
#include <glib.h>
17
18
#ifdef __cplusplus
19
extern
"C"
{
20
#endif
/* __cplusplus */
21
38
WS_DLL_PUBLIC
39
void
*
40
wmem_memdup
(
wmem_allocator_t
*allocator,
const
void
*source,
const
size_t
size)
41
G_GNUC_ALLOC_SIZE(3);
42
45
WS_DLL_PUBLIC
46
int
47
wmem_compare_int
(
const
void
*a,
const
void
*b);
48
49
WS_DLL_PUBLIC
50
int
51
wmem_compare_uint(
const
void
*a,
const
void
*b);
52
56
#ifdef __cplusplus
57
}
58
#endif
/* __cplusplus */
59
60
#endif
/* __WMEM_MISCUTL_H__ */
61
62
/*
63
* Editor modelines - https://www.wireshark.org/tools/modelines.html
64
*
65
* Local variables:
66
* c-basic-offset: 4
67
* tab-width: 8
68
* indent-tabs-mode: nil
69
* End:
70
*
71
* vi: set shiftwidth=4 tabstop=8 expandtab:
72
* :indentSize=4:tabSize=8:noTabs=true:
73
*/
wmem_memdup
WS_DLL_PUBLIC void * wmem_memdup(wmem_allocator_t *allocator, const void *source, const size_t size) G_GNUC_ALLOC_SIZE(3)
Definition
wmem_miscutl.c:19
wmem_compare_int
WS_DLL_PUBLIC int wmem_compare_int(const void *a, const void *b)
Definition
wmem_miscutl.c:33
_wmem_allocator_t
Definition
wmem_allocator.h:27
Generated by
1.9.8