LibreOffice Module sd (master)
1
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
Functions
a
c
d
f
g
h
i
l
m
o
r
s
u
w
Variables
a
b
c
d
e
g
h
i
m
n
o
p
s
t
v
w
Typedefs
a
b
c
d
e
f
g
i
l
m
n
p
r
s
t
u
v
w
Enumerations
Enumerator
a
b
c
d
e
f
h
m
n
o
p
s
t
v
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
~
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
~
Variables
a
b
c
d
e
f
g
h
l
m
n
o
p
r
s
u
x
z
Typedefs
a
b
c
d
e
f
i
k
l
m
p
r
s
t
u
v
x
Enumerations
a
c
d
e
f
g
h
i
l
m
o
p
s
t
u
v
w
Enumerator
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
Related Functions
:
a
c
d
e
i
m
o
p
s
t
u
v
w
Files
File List
File Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Functions
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
w
Variables
a
b
c
d
g
h
j
k
m
n
p
s
t
v
w
x
Typedefs
Enumerations
Enumerator
c
f
h
l
m
n
o
p
s
u
v
Macros
a
b
c
d
e
f
g
i
k
m
n
p
r
s
t
u
v
w
z
sd
source
ui
remotecontrol
WINNetworkService.cxx
Go to the documentation of this file.
1
#include <string>
2
#include <iostream>
3
#include "
WINNetworkService.hxx
"
4
#include <
sal/log.hxx
>
5
6
void
sd::WINNetworkService::setup
()
7
{
8
DNSServiceErrorType
err
= DNSServiceRegister(&
client
, 0, 0,
nullptr
,
kREG_TYPE
,
"local"
,
nullptr
, 1599, 1,
""
,
nullptr
,
this
);
9
10
if
(kDNSServiceErr_NoError !=
err
)
11
SAL_WARN
(
"sdremote.wifi"
,
"DNSServiceRegister failed: "
<<
err
);
12
13
// Fail silently
14
}
15
16
void
sd::WINNetworkService::clear
()
17
{
18
DNSServiceRefDeallocate(
client
);
19
}
client
static AvahiClient * client
Definition:
AvahiNetworkService.cxx:36
WINNetworkService.hxx
kREG_TYPE
#define kREG_TYPE
Definition:
ZeroconfService.hxx:21
sd::WINNetworkService::clear
void clear() override
Definition:
WINNetworkService.cxx:16
sd::WINNetworkService::client
DNSServiceRef client
Definition:
WINNetworkService.hxx:13
sd::WINNetworkService::setup
void setup() override
Definition:
WINNetworkService.cxx:6
log.hxx
SAL_WARN
#define SAL_WARN(area, stream)
err
err
Generated on Sun Jul 30 2023 04:27:22 for LibreOffice Module sd (master) by
1.9.3