FreeNOS
server
core
Core.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2020 Niek Linnenbank
3
*
4
* This program is free software: you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License as published by
6
* the Free Software Foundation, either version 3 of the License, or
7
* (at your option) any later version.
8
*
9
* This program is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
* GNU General Public License for more details.
13
*
14
* You should have received a copy of the GNU General Public License
15
* along with this program. If not, see <http://www.gnu.org/licenses/>.
16
*/
17
18
#ifndef __SERVER_CORE_CORE_H
19
#define __SERVER_CORE_CORE_H
20
21
#include <
Types.h
>
22
31
namespace
Core
32
{
36
enum
Action
37
{
38
GetCoreCount
= 0,
39
CreateProcess
,
40
PingRequest
,
41
PongResponse
42
};
43
47
enum
Result
48
{
49
Success
,
50
InvalidArgument
,
51
NotFound
,
52
BootError
,
53
ExecError
,
54
OutOfMemory
,
55
IOError
,
56
MemoryError
,
57
IpcError
58
};
59
};
60
66
#endif
/* __SERVER_CORE_CORE_H */
Core::PongResponse
@ PongResponse
Definition:
Core.h:41
Core::OutOfMemory
@ OutOfMemory
Definition:
Core.h:54
Core::MemoryError
@ MemoryError
Definition:
Core.h:56
Core::PingRequest
@ PingRequest
Definition:
Core.h:40
Types.h
Core::Action
Action
Actions which may be performed on the CoreServer.
Definition:
Core.h:36
Core::IOError
@ IOError
Definition:
Core.h:55
Core::BootError
@ BootError
Definition:
Core.h:52
Core::NotFound
@ NotFound
Definition:
Core.h:51
Core::IpcError
@ IpcError
Definition:
Core.h:57
Core::Result
Result
Result code for Actions.
Definition:
Core.h:47
Core
Definition:
Core.h:31
Core::CreateProcess
@ CreateProcess
Definition:
Core.h:39
Core::ExecError
@ ExecError
Definition:
Core.h:53
Core::Success
@ Success
Definition:
Core.h:49
Core::InvalidArgument
@ InvalidArgument
Definition:
Core.h:50
Core::GetCoreCount
@ GetCoreCount
Definition:
Core.h:38
Generated by
1.8.17