Servus
1.2.0
A small set of network oriented utilities in C++ including a zeroconf implementation.
Main Page
Related Pages
Classes
Files
File List
File Members
types.h
1
/* Copyright (c) 2015, Human Brain Project
2
* Stefan.Eilemann@epfl.ch
3
* Juan Hernando <jhernando@fi.upm.es>
4
*
5
* This file is part of Servus <https://github.com/HBPVIS/Servus>
6
*
7
* This library is free software; you can redistribute it and/or modify it under
8
* the terms of the GNU Lesser General Public License version 3.0 as published
9
* by the Free Software Foundation.
10
*
11
* This library is distributed in the hope that it will be useful, but WITHOUT
12
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
13
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
14
* details.
15
*
16
* You should have received a copy of the GNU Lesser General Public License
17
* along with this library; if not, write to the Free Software Foundation, Inc.,
18
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19
*/
20
21
#ifndef SERVUS_TYPES_H
22
#define SERVUS_TYPES_H
23
24
#include <sys/types.h>
25
#ifndef _MSC_VER
26
# include <stdint.h>
27
#endif
28
#ifdef _WIN32
29
# include <basetsd.h>
30
# ifdef _MSC_VER
31
typedef
UINT64 uint64_t;
32
typedef
INT64 int64_t;
33
typedef
UINT32 uint32_t;
34
typedef
INT32 int32_t;
35
typedef
UINT16 uint16_t;
36
typedef
INT16 int16_t;
37
typedef
UINT8 uint8_t;
38
typedef
INT8 int8_t;
39
# ifndef HAVE_SSIZE_T
40
typedef
SSIZE_T ssize_t;
41
# define HAVE_SSIZE_T
42
# endif
43
# endif // Win32, Visual C++
44
#endif // Win32
45
46
#include <vector>
47
#include <string>
48
49
namespace
servus
50
{
51
52
class
Listener;
53
class
Servus;
54
class
URI;
55
class
uint128_t;
56
57
typedef
std::vector< std::string > Strings;
58
}
59
60
#endif
servus
Definition:
listener.h:23
install
include
servus
types.h
Generated on Mon Nov 2 2015 14:31:07 for Servus by
1.8.9.1