Logo Search packages:      
Sourcecode: langupdate version File versions

gint lu_check_pkg_version ( const gchar *  package,
const gchar *  version 
)

get the version string for the package name

Definition at line 248 of file aptcache.cc.

References apt_table.

{
      gchar * verstr;
      verstr = g_strdup((gchar*)g_hash_table_lookup (apt_table, package));
      return g_strcmp0 (verstr, version);
}


Generated by  Doxygen 1.6.0   Back to index