spkgdeveloper's documentation
G_BEGIN_DECLS gchar* parse_pkgname ( const gchar *  path,
guint  elem 
)

Parse package name into parts.

Parameters:
path Package path.
elem Package name element.
  • 0 path
  • 1 shortname
  • 2 version
  • 3 arch
  • 4 build
  • 5 fullname
  • 6 check (returns -1 if ok)
Returns:
Requested package name element (g_malloced), 0 on error.

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