X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/d05a2f0b9869c82f8c02c37e2a8a158dee671a4c..bfcbe974900c892b516c052a9433b344e4ed70d6:/include/stg/user.h diff --git a/include/stg/user.h b/include/stg/user.h index f0f77bc0..9cc44df8 100644 --- a/include/stg/user.h +++ b/include/stg/user.h @@ -68,10 +68,10 @@ public: virtual bool GetConnected() const = 0; virtual time_t GetConnectedModificationTime() const = 0; virtual int GetAuthorized() const = 0; - virtual int Authorize(uint32_t ip, + /*virtual int Authorize(uint32_t ip, uint32_t enabledDirs, const AUTH * auth) = 0; - virtual void Unauthorize(const AUTH * auth) = 0; + virtual void Unauthorize(const AUTH * auth) = 0;*/ virtual bool IsAuthorizedBy(const AUTH * auth) const = 0; virtual int AddMessage(STG_MSG * msg) = 0; @@ -99,5 +99,6 @@ public: }; typedef USER * USER_PTR; +typedef const USER * CONST_USER_PTR; #endif