spkgdeveloper's documentation
gint iter_str_lines ( gchar **  b,
gchar **  e,
gchar **  n,
gchar **  ln 
)

Iterate through null-termianted buffer line by line.

Parameters:
b begining of the line
e one character after the end of the line (excluding
)
n next line start (set this to the buffer begining at start)
ln line (zero terminated g_strduped string, freed by user) (could be zero if you don't want to us it)
Returns:
0 if not a valid cleanup link line, 1 if valid
  gchar *b, *e, *ln, *n=buf;
  while(iter_lines(&b, &e, &n, &ln))
  {
    g_free(ln);
  }

Documentation for spkg, Sun Jul 23 13:12:53 2006.