PdCom  4.2
Process data communication client
/home/abuild/rpmbuild/BUILD/pdcom-4.2.0/build/pdcom4.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * vim:tw=78
3  * $Id$
4  *
5  * Copyright (C) 2015-2016 Richard Hacker (lerichi at gmx dot net)
6  * Florian Pose <fp@igh.de>
7  *
8  * This file is part of the PdCom library.
9  *
10  * The PdCom library is free software: you can redistribute it and/or modify
11  * it under the terms of the GNU Lesser General Public License as published by
12  * the Free Software Foundation, either version 3 of the License, or (at your
13  * option) any later version.
14  *
15  * The PdCom library is distributed in the hope that it will be useful, but
16  * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
17  * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
18  * License for more details.
19  *
20  * You should have received a copy of the GNU Lesser General Public License
21  * along with the PdCom library. If not, see <http://www.gnu.org/licenses/>.
22  *
23  *****************************************************************************/
24 
27 #ifndef PDCOM_H
28 #define PDCOM_H
29 
30 #include "pdcom4/Process.h"
31 #include "pdcom4/Variable.h"
32 #include "pdcom4/Subscriber.h"
33 
35 #define PKGID
36 
38 #define PDCOM_MAJOR 4
39 #define PDCOM_MINOR 2
41 #define PDCOM_RELEASE 0
43 
45 #define PDCOM_VERSION(A, B, C) (((A) << 16) + ((B) << 8) + (C))
46 
48 #define PDCOM_VERSION_CODE \
49  PDCOM_VERSION(PDCOM_MAJOR, PDCOM_MINOR, PDCOM_RELEASE)
50 
52 #define HAS_VERSION_STRING
53 extern const char* pdcom_version_string;
55 
152 #endif // PDCOM_H
153 
154 /****************************************************************************/
const char * pdcom_version_string
library version string as "major.minor.patch"