00001 /* 00002 * This file is part of ccid-utils 00003 * Copyright (c) 2008 Gianni Tedesco <gianni@scaramanga.co.uk> 00004 * Released under the terms of the GNU GPL version 3 00005 */ 00006 #ifndef _SIM_H 00007 #define _SIM_H 00008 00009 typedef struct _sim *sim_t; 00010 00011 /* SIM session */ 00012 _public sim_t sim_new(chipcard_t cc); 00013 _public int sim_sms_save(sim_t sim, const char *fn); 00014 _public int sim_sms_restore(sim_t sim, const char *fn); 00015 _public void sim_free(sim_t sim); 00016 00017 #endif /* _GSM_H */