blob: 3c99f999942f8c7f65d99d05966b12639c6efed7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#include "itdb_sysinfo_extended_parser.h"
#include <glib.h>
#include <glib-object.h>
int main (int argc, char **argv)
{
SysInfoIpodProperties *props;
GError *error = NULL;
if (argc != 2)
return(1);
g_type_init ();
props = itdb_sysinfo_extended_parse (argv[1], &error);
if (props == NULL) {
g_print ("Couldn't parse %s: %s\n", argv[1], error->message);
}
itdb_sysinfo_properties_dump (props);
itdb_sysinfo_properties_free (props);
props = NULL;
return 0;
}
|