mirror of git://git.sysmocom.de/ofono
Move enum to simutil.h
This commit is contained in:
parent
1df261cdb9
commit
e13b933cbb
|
@ -39,6 +39,7 @@
|
||||||
#include "util.h"
|
#include "util.h"
|
||||||
#include "smsutil.h"
|
#include "smsutil.h"
|
||||||
#include "sim.h"
|
#include "sim.h"
|
||||||
|
#include "simutil.h"
|
||||||
|
|
||||||
#define SIM_MANAGER_INTERFACE "org.ofono.SimManager"
|
#define SIM_MANAGER_INTERFACE "org.ofono.SimManager"
|
||||||
|
|
||||||
|
@ -254,14 +255,6 @@ static char *network_name_parse(const unsigned char *buffer, int length)
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
enum sim_fileids {
|
|
||||||
SIM_EFMSISDN_FILEID = 0x6f40,
|
|
||||||
SIM_EFSPN_FILEID = 0x6f46,
|
|
||||||
SIM_EFPNN_FILEID = 0x6fc5,
|
|
||||||
SIM_EFOPL_FILEID = 0x6fc6,
|
|
||||||
SIM_EFSPDI_FILEID = 0x6fcd,
|
|
||||||
};
|
|
||||||
|
|
||||||
#define SIM_EFSPN_DC_HOME_PLMN_BIT 0x1
|
#define SIM_EFSPN_DC_HOME_PLMN_BIT 0x1
|
||||||
#define SIM_EFSPN_DC_ROAMING_SPN_BIT 0x2
|
#define SIM_EFSPN_DC_ROAMING_SPN_BIT 0x2
|
||||||
|
|
||||||
|
|
|
@ -18,5 +18,14 @@
|
||||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
enum sim_fileid {
|
||||||
|
SIM_EFMSISDN_FILEID = 0x6f40,
|
||||||
|
SIM_EFSPN_FILEID = 0x6f46,
|
||||||
|
SIM_EFPNN_FILEID = 0x6fc5,
|
||||||
|
SIM_EFOPL_FILEID = 0x6fc6,
|
||||||
|
SIM_EFSPDI_FILEID = 0x6fcd,
|
||||||
|
};
|
||||||
|
|
||||||
const guint8 *ber_tlv_find_by_tag(const guint8 *pdu, guint8 in_tag,
|
const guint8 *ber_tlv_find_by_tag(const guint8 *pdu, guint8 in_tag,
|
||||||
int in_len, int *out_len);
|
int in_len, int *out_len);
|
||||||
|
|
Loading…
Reference in New Issue