summaryrefslogtreecommitdiff
path: root/src/RpcMethodFactory.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2016-10-15 19:07:24 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2016-10-15 19:07:24 +0900
commitdf19921b833d9a46c68fce1da4e54ec677cfa65d (patch)
tree5e527bbdeb4f1703c615827ede961e11c2983440 /src/RpcMethodFactory.cc
parent54e465194b65b621b438c695e4593f93937160d6 (diff)
parentaa4ea8889c827df4b178b6ae6259b82e86bfbc5f (diff)
Merge branch 'clang-format-3.9'
Diffstat (limited to 'src/RpcMethodFactory.cc')
-rw-r--r--src/RpcMethodFactory.cc44
1 files changed, 33 insertions, 11 deletions
diff --git a/src/RpcMethodFactory.cc b/src/RpcMethodFactory.cc
index 0e276f8a..bafbffd8 100644
--- a/src/RpcMethodFactory.cc
+++ b/src/RpcMethodFactory.cc
@@ -53,21 +53,43 @@ namespace {
std::vector<std::string> rpcMethodNames = {
"aria2.addUri",
#ifdef ENABLE_BITTORRENT
- "aria2.addTorrent", "aria2.getPeers",
+ "aria2.addTorrent",
+ "aria2.getPeers",
#endif // ENABLE_BITTORRENT
#ifdef ENABLE_METALINK
"aria2.addMetalink",
#endif // ENABLE_METALINK
- "aria2.remove", "aria2.pause", "aria2.forcePause", "aria2.pauseAll",
- "aria2.forcePauseAll", "aria2.unpause", "aria2.unpauseAll",
- "aria2.forceRemove", "aria2.changePosition", "aria2.tellStatus",
- "aria2.getUris", "aria2.getFiles", "aria2.getServers", "aria2.tellActive",
- "aria2.tellWaiting", "aria2.tellStopped", "aria2.getOption",
- "aria2.changeUri", "aria2.changeOption", "aria2.getGlobalOption",
- "aria2.changeGlobalOption", "aria2.purgeDownloadResult",
- "aria2.removeDownloadResult", "aria2.getVersion", "aria2.getSessionInfo",
- "aria2.shutdown", "aria2.forceShutdown", "aria2.getGlobalStat",
- "aria2.saveSession", "system.multicall", "system.listMethods",
+ "aria2.remove",
+ "aria2.pause",
+ "aria2.forcePause",
+ "aria2.pauseAll",
+ "aria2.forcePauseAll",
+ "aria2.unpause",
+ "aria2.unpauseAll",
+ "aria2.forceRemove",
+ "aria2.changePosition",
+ "aria2.tellStatus",
+ "aria2.getUris",
+ "aria2.getFiles",
+ "aria2.getServers",
+ "aria2.tellActive",
+ "aria2.tellWaiting",
+ "aria2.tellStopped",
+ "aria2.getOption",
+ "aria2.changeUri",
+ "aria2.changeOption",
+ "aria2.getGlobalOption",
+ "aria2.changeGlobalOption",
+ "aria2.purgeDownloadResult",
+ "aria2.removeDownloadResult",
+ "aria2.getVersion",
+ "aria2.getSessionInfo",
+ "aria2.shutdown",
+ "aria2.forceShutdown",
+ "aria2.getGlobalStat",
+ "aria2.saveSession",
+ "system.multicall",
+ "system.listMethods",
"system.listNotifications",
};
} // namespace