#include "aux_lu.h" #include #include /* * Get the value of type from the given entity * returns string */ char* aux_lu_get_str(struct lu_ent* ent, char* type) { return g_value_get_string(g_value_array_get_nth(lu_ent_get(ent, type), 0)); } /* * Get the value of type from the given entity * returns long int */ long aux_lu_get_long(struct lu_ent* ent, char* type) { return g_value_get_long(g_value_array_get_nth(lu_ent_get(ent, type), 0)); }