gloox
1.0.16
Main Page
Related Pages
Namespaces
Classes
Files
File List
src
linklocal.h
1
/*
2
Copyright (c) 2012-2015 by Jakob Schröter <js@camaya.net>
3
This file is part of the gloox library. http://camaya.net/gloox
4
5
This software is distributed under a license. The full license
6
agreement can be found in the file LICENSE in this distribution.
7
This software may not be copied, modified, sold or distributed
8
other than expressed in the named license agreement.
9
10
This software is distributed without any warranty.
11
*/
12
13
#ifndef LINKLOCAL_H__
14
#define LINKLOCAL_H__
15
16
#include "config.h"
17
18
#ifdef HAVE_MDNS
19
20
#include <string>
21
#include <list>
22
23
namespace
gloox
24
{
25
32
namespace
LinkLocal
33
{
34
35
class
Client
;
36
40
enum
Flag
41
{
42
AddService
,
43
RemoveService
44
};
45
52
struct
Service
53
{
54
friend
class
Manager
;
55
56
private
:
57
Service
(
Flag
_flag,
const
std::string& _service,
const
std::string& _regtype,
const
std::string& _domain,
int
_interface )
58
: flag( _flag ), service( _service ), regtype( _regtype ), domain( _domain ), iface( _interface ) {}
59
60
public
:
61
Flag
flag;
62
std::string service;
63
std::string regtype;
64
std::string domain;
65
int
iface;
66
};
67
71
typedef
std::list<Service>
ServiceList
;
72
73
}
74
75
}
76
77
#endif // HAVE_MDNS
78
79
#endif // LINKLOCAL_H__
gloox::LinkLocal::Client
An implementation of a link-local client.
Definition:
linklocalclient.h:45
gloox::LinkLocal::AddService
Definition:
linklocal.h:42
gloox
The namespace for the gloox library.
Definition:
adhoc.cpp:27
gloox::LinkLocal::Flag
Flag
Definition:
linklocal.h:40
gloox::LinkLocal::RemoveService
Definition:
linklocal.h:43
gloox::LinkLocal::Manager
This is a manager for server-less messaging (XEP-0174).
Definition:
linklocalmanager.h:167
gloox::LinkLocal::Service
An abstraction of the parameters of a single link-local service.
Definition:
linklocal.h:52
gloox::LinkLocal::ServiceList
std::list< Service > ServiceList
Definition:
linklocal.h:71
Generated on Sat Jul 16 2016 18:03:27 for gloox by
1.8.8