1/*
2 This file is part of the KDE libraries
3 SPDX-FileCopyrightText: 2000-2013 David Faure <faure@kde.org>
4
5 SPDX-License-Identifier: LGPL-2.0-only
6*/
7
8#ifndef KIO_COMMANDS_P_H
9#define KIO_COMMANDS_P_H
10
11#include "kiocore_export.h"
12
13namespace KIO
14{
15/**
16 * @internal
17 * Commands that can be invoked by a job.
18 */
19enum Command {
20 CMD_HOST = '0', // 48
21 CMD_CONNECT = '1', // 49
22 CMD_DISCONNECT = '2', // 50
23 CMD_WORKER_STATUS = '3', // 51
24 CMD_NONE = 'A', // 65
25 // Unused: 'B', // 66
26 CMD_GET = 'C', // 67
27 CMD_PUT = 'D', // 68
28 CMD_STAT = 'E', // 69
29 CMD_MIMETYPE = 'F', // 70
30 CMD_LISTDIR = 'G', // 71
31 CMD_MKDIR = 'H', // 72
32 CMD_RENAME = 'I', // 73
33 CMD_COPY = 'J', // 74
34 CMD_DEL = 'K', // 75
35 CMD_CHMOD = 'L', // 76
36 CMD_SPECIAL = 'M', // 77
37 CMD_SETMODIFICATIONTIME = 'N', // 78
38 CMD_REPARSECONFIGURATION = 'O', // 79
39 CMD_META_DATA = 'P', // 80
40 CMD_SYMLINK = 'Q', // 81
41 // Unused: 'R', // 82
42 CMD_MESSAGEBOXANSWER = 'S', // 83
43 CMD_RESUMEANSWER = 'T', // 84
44 CMD_CONFIG = 'U', // 85
45 // unused 'V', // 86
46 CMD_SETLINKDEST = 'W', // 87
47 CMD_OPEN = 'X', // 88
48 CMD_CHOWN = 'Y', // 89
49 CMD_READ = 'Z', // 90
50 CMD_WRITE = 91,
51 CMD_SEEK = 92,
52 CMD_CLOSE = 93,
53 CMD_HOST_INFO = 94,
54 CMD_FILESYSTEMFREESPACE = 95,
55 CMD_TRUNCATE = 96,
56 CMD_SSLERRORANSWER,
57 // Add new ones here once a release is done, to avoid breaking binary compatibility.
58 // Note that protocol-specific commands shouldn't be added here, but should use special.
59};
60
61} // namespace
62
63#endif
64

source code of kio/src/core/commands_p.h