[tracker/rss-enclosures] tracker-extract: Add tracker_getline() docs
- From: Roberto Guido <rguido src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/rss-enclosures] tracker-extract: Add tracker_getline() docs
- Date: Mon, 3 May 2010 00:47:37 +0000 (UTC)
commit 6628cdfc1f7941ae8f0ac2e7e5499e46ab6f30ad
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]