diff options
| author | JP Dillingham <jpdillingham@gmail.com> | 2021-09-12 11:07:19 -0500 |
|---|---|---|
| committer | JP Dillingham <jpdillingham@gmail.com> | 2021-09-12 11:07:19 -0500 |
| commit | 32b6e44f6db7a77905e45e7bbbe94f91be02fdee (patch) | |
| tree | 72af386ab592d9a00ed949103816aaa5aa15015a /src/slskd/Application/IApplication.cs | |
| parent | 495ac50e153904b421aa5c459a1006d27dd59d54 (diff) | |
| download | slskd-32b6e44f6db7a77905e45e7bbbe94f91be02fdee.tar.gz | |
remove ISoulseekClient from PeerService
Diffstat (limited to 'src/slskd/Application/IApplication.cs')
| -rw-r--r-- | src/slskd/Application/IApplication.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/slskd/Application/IApplication.cs b/src/slskd/Application/IApplication.cs index 0bf83899..78a05151 100644 --- a/src/slskd/Application/IApplication.cs +++ b/src/slskd/Application/IApplication.cs @@ -19,6 +19,7 @@ namespace slskd { using System; using System.IO; + using System.Net; using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.Hosting; @@ -43,5 +44,11 @@ namespace slskd public Task DownloadAsync(string username, string filename, Stream outputStream, long? size, long startOffset = 0, int? token = null, TransferOptions options = null, CancellationToken? cancellationToken = null); public Task<int> GetDownloadPlaceInQueueAsync(string username, string filename); public Task<BrowseResponse> BrowseAsync(string username); + public Task<UserInfo> GetUserInfoAsync(string username); + public Task<IPEndPoint> GetUserEndPointAsync(string username); + public Task<UserStatus> GetUserStatusAsync(string username); + public Task GrantUserPrivilegesAsync(string username, int days); + public Task<bool> GetUserPrivilegedAsync(string username); + public Task AddUserAsync(string username); } } |
