author | Michael Krelin <hacker@klever.net> | 2007-08-09 11:31:28 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2007-08-09 11:31:28 (UTC) |
commit | ccabea66fe29ae41458d47d7004d28e225caf41a (patch) (unidiff) | |
tree | eb7e6cc2afa3fffe7eafad439113ba2363a74278 /include | |
parent | 65bab7c9f984d6fe45ce72e7db014c40eba4d240 (diff) | |
download | libopkele-ccabea66fe29ae41458d47d7004d28e225caf41a.zip libopkele-ccabea66fe29ae41458d47d7004d28e225caf41a.tar.gz libopkele-ccabea66fe29ae41458d47d7004d28e225caf41a.tar.bz2 |
fix to previous commit
-rw-r--r-- | include/opkele/types.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/opkele/types.h b/include/opkele/types.h index 757c0af..8f4bf73 100644 --- a/include/opkele/types.h +++ b/include/opkele/types.h | |||
@@ -92,12 +92,17 @@ namespace opkele { | |||
92 | virtual int expires_in() const = 0; | 92 | virtual int expires_in() const = 0; |
93 | /** | 93 | /** |
94 | * check whether the association is stateless. | 94 | * check whether the association is stateless. |
95 | * @return true if stateless | 95 | * @return true if stateless |
96 | */ | 96 | */ |
97 | virtual bool stateless() const = 0; | 97 | virtual bool stateless() const = 0; |
98 | /** | ||
99 | * check whether the association is expired. | ||
100 | * @return true if expired | ||
101 | */ | ||
102 | virtual bool is_expired() const = 0; | ||
98 | }; | 103 | }; |
99 | 104 | ||
100 | /** | 105 | /** |
101 | * the auto_ptr<> for association_t object type | 106 | * the auto_ptr<> for association_t object type |
102 | */ | 107 | */ |
103 | typedef auto_ptr<association_t> assoc_t; | 108 | typedef auto_ptr<association_t> assoc_t; |