8 int main(int argc
, char **argv
)
12 GSM_Debug_Info
*debug_info
;
15 printf("Usage: read-backup backup\n");
19 /* Configure debugging */
20 debug_info
= GSM_GetGlobalDebug();
21 GSM_SetDebugFileDescriptor(stderr
, FALSE
, debug_info
);
22 GSM_SetDebugLevel("textall", debug_info
);
24 error
= GSM_ReadBackupFile(argv
[1], &backup
, GSM_GuessBackupFormat(argv
[1], FALSE
));
25 gammu_test_result(error
, "Read backup");
27 GSM_FreeBackup(&backup
);
32 /* Editor configuration
33 * vim: noexpandtab sw=8 ts=8 sts=8 tw=72: