]> pd.if.org Git - pd_readline/blobdiff - history.c
More work.
[pd_readline] / history.c
index f84ec24bda425a41a49ebe8277fa45c919ea49f8..23707502c626fb6d9a5a78686220405b05c4facf 100644 (file)
--- a/history.c
+++ b/history.c
@@ -39,7 +39,9 @@ char hist[20][80];
 
 
 
-/* Read the file into the array of strings.  */ 
+/* Read the file into the array of strings.                */ 
+/* TO DO - look at reading file into a series of structs.  */ 
+
 void readhistory(char *fname) 
 { 
    int retval = fexists(fname); 
@@ -64,5 +66,11 @@ void readhistory(char *fname)
 }      
 
 
+/* TO DO - a function that reads in the 2d history array, and    */ 
+/* returns a struct with one line from the array, and the index  */
+/* of the line.                                                  */ 
+
+