mxlib
c++ tools for analyzing astronomical data and other tasks by Jared R. Males. [
git repo
]
ipc.hpp
Go to the documentation of this file.
1
/** \file ipc.hpp
2
* \author Jared R. Males (jaredmales@gmail.com)
3
* \brief Declarations for the mxlib interprocess communication (IPC) tools
4
*
5
*/
6
7
//***********************************************************************//
8
// Copyright 2015, 2016, 2017, 2018 Jared R. Males (jaredmales@gmail.com)
9
//
10
// This file is part of mxlib.
11
//
12
// mxlib is free software: you can redistribute it and/or modify
13
// it under the terms of the GNU General Public License as published by
14
// the Free Software Foundation, either version 3 of the License, or
15
// (at your option) any later version.
16
//
17
// mxlib is distributed in the hope that it will be useful,
18
// but WITHOUT ANY WARRANTY; without even the implied warranty of
19
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20
// GNU General Public License for more details.
21
//
22
// You should have received a copy of the GNU General Public License
23
// along with mxlib. If not, see <http://www.gnu.org/licenses/>.
24
//***********************************************************************//
25
26
#ifndef ipc_ipc_hpp
27
#define ipc_ipc_hpp
28
29
30
31
#include <stdlib.h>
32
#include <string.h>
33
34
#include <unistd.h>
35
36
#include <sys/types.h>
37
#include <sys/ipc.h>
38
#include <sys/msg.h>
39
40
/** \addtogroup IPC
41
* @{
42
*/
43
///The maximum length of the IPC key string
44
#define MX_IPC_KEYLEN 1024
45
46
///The process interface buffer size
47
#define MX_IPC_PI_BUFSZ 128
48
49
50
///@}
51
52
#endif
//mx_IPC_hpp
53
54
ipc
ipc.hpp
Generated on Sun Nov 26 2023 10:58:11 for mxlib by
1.9.1