| Top |
| OsinfoDatamap * | osinfo_datamap_new () |
| void | osinfo_datamap_insert () |
| const gchar * | osinfo_datamap_lookup () |
| const gchar * | osinfo_datamap_reverse_lookup () |
OsinfoDatamap is an object for representing OS datamaps. It is to translate generic osinfo values to OS specific data.
OsinfoDatamap *
osinfo_datamap_new (const gchar *id);
Construct a new datamapa that is initially empty.
Since: 0.2.3
void osinfo_datamap_insert (OsinfoDatamap *map,const gchar *inval,const gchar *outval);
Adds the input value and the output value associated to it to
the map
.
Since: 0.2.3
const gchar * osinfo_datamap_lookup (OsinfoDatamap *map,const gchar *inval);
Returns the output value with which inval
is associated to.
Since: 0.2.3
const gchar * osinfo_datamap_reverse_lookup (OsinfoDatamap *map,const gchar *outval);
Returns the input value with which outval
is associated to.
Since: 0.2.3