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
type_util.h
Go to the documentation of this file.
1
11
#ifndef __TYPE_UTIL_H__
12
#define __TYPE_UTIL_H__
13
14
#include <inttypes.h>
15
#include "ws_symbol_export.h"
16
17
/*
18
* uint64_t to double conversions taken from gstutils.h of GStreamer project
19
*
20
* GStreamer
21
* Copyright (C) 1999,2000 Erik Walthinsen <omega@cse.ogi.edu>
22
* 2000 Wim Taymans <wtay@chello.be>
23
* 2002 Thomas Vander Stichele <thomas@apestaart.org>
24
*
25
* gstutils.h: Header for various utility functions
26
*
27
* GNU GPL v2
28
*
29
*/
30
31
WS_DLL_PUBLIC
32
uint64_t type_util_double_to_uint64(
double
value);
33
WS_DLL_PUBLIC
34
double
type_util_uint64_to_double(uint64_t value);
35
36
#ifdef _WIN32
37
#define double_to_uint64(value) type_util_double_to_uint64(value)
38
#define uint64_to_double(value) type_util_uint64_to_double(value)
39
#else
40
#define double_to_uint64(value) ((uint64_t)(value))
41
#define uint64_to_double(value) ((double)(value))
42
#endif
43
44
#endif
/* __TYPE_UTIL_H__ */
Generated by
1.9.8