git.stg.codes
/
stg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Small fixes.
[stg.git]
/
include
/
stg
/
user.h
diff --git
a/include/stg/user.h
b/include/stg/user.h
index 0adb342ae9261841017370c169398e22449f981a..44d3e5b2293988020425518bcceaabd5ef84a7b2 100644
(file)
--- a/
include/stg/user.h
+++ b/
include/stg/user.h
@@
-21,17
+21,16
@@
#ifndef USER_H
#define USER_H
#ifndef USER_H
#define USER_H
-#include <ctime>
-#include <string>
-
-#include <vector>
-#include <string>
-
-#include "os_int.h"
#include "notifer.h"
#include "message.h"
#include "tariff.h"
#include "user_traff.h"
#include "notifer.h"
#include "message.h"
#include "tariff.h"
#include "user_traff.h"
+#include "os_int.h"
+
+#include <vector>
+#include <string>
+
+#include <ctime>
class USER_PROPERTIES;
class AUTH;
class USER_PROPERTIES;
class AUTH;
@@
-74,11
+73,10
@@
public:
virtual bool GetConnected() const = 0;
virtual time_t GetConnectedModificationTime() const = 0;
virtual bool GetConnected() const = 0;
virtual time_t GetConnectedModificationTime() const = 0;
+ virtual const std::string & GetLastDisconnectReason() const = 0;
virtual int GetAuthorized() const = 0;
virtual int GetAuthorized() const = 0;
- /*virtual int Authorize(uint32_t ip,
- uint32_t enabledDirs,
- const AUTH * auth) = 0;
- virtual void Unauthorize(const AUTH * auth) = 0;*/
+ virtual time_t GetAuthorizedModificationTime() const = 0;
+
virtual bool IsAuthorizedBy(const AUTH * auth) const = 0;
virtual std::vector<std::string> GetAuthorizers() const = 0;
virtual bool IsAuthorizedBy(const AUTH * auth) const = 0;
virtual std::vector<std::string> GetAuthorizers() const = 0;