[tracker] tracker-extract: Add tracker_getline() docs



commit b24e35e5176b03493f6dc51df21b37416e7db654
Author: Philip Van Hoof <philip codeminded be>
Date:   Thu Apr 29 18:08:43 2010 +0200

    tracker-extract: Add tracker_getline() docs

 src/libtracker-extract/tracker-utils.c |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)
---
diff --git a/src/libtracker-extract/tracker-utils.c b/src/libtracker-extract/tracker-utils.c
index 1b2e051..0516971 100644
--- a/src/libtracker-extract/tracker-utils.c
+++ b/src/libtracker-extract/tracker-utils.c
@@ -773,6 +773,21 @@ tracker_date_guess (const gchar *date_string)
 	return g_strdup (date_string);
 }
 
+/**
+ * tracker_getline:
+ * @linebuf: Buffer to write into
+ * @n: Max bytes of linebuf
+ * @stream: Filestream to read from
+ *
+ * Reads an entire line from stream, storing the address of the buffer
+ * containing  the  text into *lineptr.  The buffer is null-terminated
+ * and includes the newline character, if one was found.
+ *
+ * Read GNU getline()'s manpage for more information
+ *
+ * Since: 0.9
+ **/
+
 #ifndef HAVE_GETLINE
 static gint
 my_igetdelim (gchar  **linebuf,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]