2 #include "../acl_cpp_define.hpp" 3 #include "../stdlib/dbuf_pool.hpp" 4 #include "../session/session.hpp" 7 #ifndef ACL_CLIENT_ONLY 34 virtual const char* getAttribute(
const char*
name)
const;
46 virtual const void* getAttribute(
const char*
name,
size_t* size)
const;
53 virtual bool getAttributes(std::map<string, session_string>& attrs)
const;
61 virtual bool getAttributes(
const std::vector<string>& names,
62 std::vector<session_string>& values)
const;
70 virtual bool setAttribute(
const char*
name,
const char* value);
79 virtual bool setAttribute(
const char*
name,
const void* value,
size_t len);
86 virtual bool setAttributes(
const std::map<string, session_string>& attrs);
93 virtual bool removeAttribute(
const char*
name);
100 virtual bool setMaxAge(time_t ttl);
106 virtual bool invalidate(
void);
113 const char* getSid(
void)
const;
121 #endif // ACL_CLIENT_ONLY HTTP_API void const char * name