~ubuntu-branches/ubuntu/wily/aria2/wily-proposed

« back to all changes in this revision

Viewing changes to src/rpc_helper.h

  • Committer: Package Import Robot
  • Author(s): Kartik Mistry, Kartik Mistry, Patrick Ruckstuhl
  • Date: 2013-09-22 18:52:14 UTC
  • mfrom: (2.5.19 sid)
  • Revision ID: package-import@ubuntu.com-20130922185214-upeu2ljgeqi7e7oo
Tags: 1.18.0-1
[ Kartik Mistry ]
* New upstream release.
* debian/control:
  + (really) Set priority to optional from extra (Closes: #697659).
  + wrap-and-sort some fields.

[ Patrick Ruckstuhl ]
* debian/rules:
  + Allow parallel building (Closes: #720977)
* debian/tests, debian/control:
  + autopkgtest infrastructure

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
 
40
40
#include <cstdlib>
41
41
#include <string>
42
 
 
43
 
#include "SharedHandle.h"
 
42
#include <memory>
44
43
 
45
44
namespace aria2 {
46
45
 
61
60
// |msg| is the error message. The |id| is the id of the request .
62
61
RpcResponse createJsonRpcErrorResponse(int code,
63
62
                                       const std::string& msg,
64
 
                                       const SharedHandle<ValueBase>& id);
 
63
                                       std::unique_ptr<ValueBase> id);
65
64
 
66
65
// Processes JSON-RPC request |jsondict| and returns the result.
67
 
RpcResponse processJsonRpcRequest(const Dict* jsondict, DownloadEngine* e);
 
66
RpcResponse processJsonRpcRequest(Dict* jsondict, DownloadEngine* e);
68
67
 
69
68
} // namespace rpc
70
69