diff options
| author | Marq Schneider <queueRAM@gmail.com> | 2010-08-11 22:37:51 -0500 |
|---|---|---|
| committer | Marq Schneider <queueRAM@gmail.com> | 2010-08-11 22:37:51 -0500 |
| commit | 64060294ab58dfd07a95a24a1500602421748da9 (patch) | |
| tree | ec61cfce0fd1f4a7a8fa7c00168e38a1bd481ed3 /misc/btpd_if.h | |
| parent | 033b776ab28e616fd9217087a50252297394a4ca (diff) | |
| download | btpd-64060294ab58dfd07a95a24a1500602421748da9.tar.gz btpd-64060294ab58dfd07a95a24a1500602421748da9.zip | |
Allow changing the upload and download rates at runtime.
This adds a 'rate' command to modify the up and download rates on the fly. Closes GH-10
Diffstat (limited to 'misc/btpd_if.h')
| -rw-r--r-- | misc/btpd_if.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/misc/btpd_if.h b/misc/btpd_if.h index 3bf77d1..66b247a 100644 --- a/misc/btpd_if.h +++ b/misc/btpd_if.h @@ -77,6 +77,7 @@ const char *ipc_strerror(enum ipc_err err); enum ipc_err btpd_add(struct ipc *ipc, const char *mi, size_t mi_size, const char *content, const char *name); enum ipc_err btpd_del(struct ipc *ipc, struct ipc_torrent *tp); +enum ipc_err btpd_rate(struct ipc *ipc, unsigned up, unsigned down); enum ipc_err btpd_start(struct ipc *ipc, struct ipc_torrent *tp); enum ipc_err btpd_start_all(struct ipc *ipc); enum ipc_err btpd_stop(struct ipc *ipc, struct ipc_torrent *tp); |