summaryrefslogtreecommitdiffabout
path: root/include/opkele/basic_op.h
Unidiff
Diffstat (limited to 'include/opkele/basic_op.h') (more/less context) (ignore whitespace changes)
-rw-r--r--include/opkele/basic_op.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/opkele/basic_op.h b/include/opkele/basic_op.h
index 12306dd..e4bbfa7 100644
--- a/include/opkele/basic_op.h
+++ b/include/opkele/basic_op.h
@@ -199,33 +199,32 @@ namespace opkele {
199 * @param type association type 199 * @param type association type
200 * @param kl association key length 200 * @param kl association key length
201 * @param sl true if the association is stateless 201 * @param sl true if the association is stateless
202 * @return association object 202 * @return association object
203 */ 203 */
204 virtual assoc_t alloc_assoc(const string& type,size_t kl,bool sl) = 0; 204 virtual assoc_t alloc_assoc(const string& type,size_t kl,bool sl) = 0;
205 /** 205 /**
206 * Retrieve valid unexpired association 206 * Retrieve valid unexpired association
207 * @param handle association handle 207 * @param handle association handle
208 * @return association object 208 * @return association object
209 */ 209 */
210 virtual assoc_t retrieve_assoc(const string& handle) = 0; 210 virtual assoc_t retrieve_assoc(const string& handle) = 0;
211 /** 211 /**
212 * Allocate nonce. 212 * Allocate nonce.
213 * @param nonce input-output parameter containing timestamp part of 213 * @param nonce input-output parameter containing timestamp part of
214 * the nonce on input 214 * the nonce on input
215 * @param sl true if the nonce is
216 * @return reference to nonce 215 * @return reference to nonce
217 * @throw failed_lookup if no such valid unexpired association 216 * @throw failed_lookup if no such valid unexpired association
218 * could be retrieved 217 * could be retrieved
219 */ 218 */
220 virtual string& alloc_nonce(string& nonce) = 0; 219 virtual string& alloc_nonce(string& nonce) = 0;
221 /** 220 /**
222 * Check nonce validity 221 * Check nonce validity
223 * @param nonce nonce to check 222 * @param nonce nonce to check
224 * @return true if nonce found and isn't yet invalidated 223 * @return true if nonce found and isn't yet invalidated
225 */ 224 */
226 virtual bool check_nonce(const string& nonce) = 0; 225 virtual bool check_nonce(const string& nonce) = 0;
227 /** 226 /**
228 * Invalidate nonce 227 * Invalidate nonce
229 * @param nonce nonce to check 228 * @param nonce nonce to check
230 */ 229 */
231 virtual void invalidate_nonce(const string& nonce) = 0; 230 virtual void invalidate_nonce(const string& nonce) = 0;