]> matita.cs.unibo.it Git - helm.git/blobdiff - matitaB/matita/matitaAuthentication.mli
Matitaweb: implementation of file-flagging for keeping track of modified files
[helm.git] / matitaB / matita / matitaAuthentication.mli
index 3bd1bc0aa7217b5eb074ec9769bacd32340f7e3a..feb13983776c4144a55b02a261d8744d5f22f8d1 100644 (file)
@@ -29,6 +29,8 @@ exception UsernameCollision of string
 
 val lookup_user : string -> (string * session_id option)
 
+val user_of_session : session_id -> string
+
 val create_session : string -> session_id
 
 val get_session_owner : session_id -> string
@@ -49,4 +51,13 @@ val serialize : unit -> unit
 
 val deserialize : unit -> unit
 
+val read_ft : string -> (string * MatitaFilesystem.matita_flag) list
+
+val write_ft : string -> (string * MatitaFilesystem.matita_flag) list -> unit
+
+val set_file_flag : 
+  string -> (string * MatitaFilesystem.matita_flag option) list -> unit
+
 val add_user : string -> string -> unit
+
+val reset : unit -> unit