[Nym3-commit] r24 - trunk

nym3-devel@lists.noreply.org nym3-devel@lists.noreply.org
Sun, 16 May 2004 14:56:34 +0200


Author: laurent
Date: 2004-05-16 14:56:33 +0200 (Sun, 16 May 2004)
New Revision: 24

Modified:
   trunk/user.ml
Log:
Add admin ajustable options.


Modified: trunk/user.ml
===================================================================
--- trunk/user.ml	2004-05-15 21:48:38 UTC (rev 23)
+++ trunk/user.ml	2004-05-16 12:56:33 UTC (rev 24)
@@ -12,10 +12,13 @@
 
 type hold = Never | Quota | Always;;
 
+(* This follows section 2.1, "Information associated with each nym" of
+   the nym-specs. *)
 type userdata = { idkey : string; cipherkey: string; policy : policy;
 				  email_latency : int; syn_latency : int;
 				  surb_rate : int; max_clear_syn : int;
-				  hold_policy : hold; shutdown : string };;
+				  hold_policy : hold; shutdown : string;
+				  max_queued : int; max_size : int; max_space : int };;
 
 let lockopen_userdb path =
 	(* TODO : add the "lock" part *)