initial commit
This commit is contained in:
commit
d306f261bd
8 files changed
+302
No files matched your search
@@ -0,0 +1,32 @@
|
||||
//
|
||||
// Created by Shell on 2026/6/17.
|
||||
//
|
||||
|
||||
#ifndef SEADISK_SERVER_INFO_HPP
|
||||
#define SEADISK_SERVER_INFO_HPP
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
namespace seafile {
|
||||
/**
|
||||
* seafile server info
|
||||
*/
|
||||
struct ServerInfo final {
|
||||
/**
|
||||
* server version
|
||||
*/
|
||||
std::string version;
|
||||
/**
|
||||
* encrypted library version
|
||||
*/
|
||||
int encrypted_library_version = 0;
|
||||
/**
|
||||
* supported features
|
||||
*/
|
||||
std::vector<std::string> features;
|
||||
|
||||
NLOHMANN_DEFINE_TYPE_INTRUSIVE(ServerInfo, version, encrypted_library_version, features);
|
||||
};
|
||||
}
|
||||
|
||||
#endif //SEADISK_SERVER_INFO_HPP
|
||||
Reference in new issue
Block a user