[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Mldonkey-commits] Changes to mldonkey/src/utils/cdk/file.mli
From: |
mldonkey-commits |
Subject: |
[Mldonkey-commits] Changes to mldonkey/src/utils/cdk/file.mli |
Date: |
Thu, 14 Jul 2005 10:02:43 -0400 |
Index: mldonkey/src/utils/cdk/file.mli
diff -u mldonkey/src/utils/cdk/file.mli:1.1 mldonkey/src/utils/cdk/file.mli:1.2
--- mldonkey/src/utils/cdk/file.mli:1.1 Tue Apr 22 22:33:39 2003
+++ mldonkey/src/utils/cdk/file.mli Thu Jul 14 14:02:28 2005
@@ -18,20 +18,24 @@
*)
val from_string : string -> string -> unit
-(*d [input_file filename str] creates a file named [filename] whose content is
+(*d [input_file filename str] creates a file named [filename] whose content is
[str]. *)
val to_string : string -> string
-(*d [to_string filename] returns in a string the content of
+(*d [to_string filename] returns in a string the content of
the file [filename]. *)
-
+
+val to_string_alt : string -> Buffer.t
+(*d [to_string_alt filename] returns in a string the content of
+ the file using alternative method [filename]. *)
+
val iter : (string -> unit) -> string -> unit
-(*d [iter f filename] read [filename] line by line, applying [f] to each
-one. *)
-
+(*d [iter f filename] read [filename] line by line, applying [f] to each
+ one. *)
+
val to_value : string -> 'a
(*d [to_value filename] read a value from [filename] using [input_value] *)
-
+
val from_value : string -> 'a -> unit
(*d [to_value filename v] write a value [v] to [filename] using
[output_value] *)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Mldonkey-commits] Changes to mldonkey/src/utils/cdk/file.mli,
mldonkey-commits <=