From 0308a183e84b144cdfd2dedda4d2fde73fbb6eb9 Mon Sep 17 00:00:00 2001 From: PaulK Date: Sun, 30 Oct 2011 16:59:31 +0100 Subject: Fixed IPC_PWR_PHONE_STATE (from SEC RIL logs) removed last SIMIO bits + other stuff --- include/sec.h | 44 ++------------------------------------------ 1 file changed, 2 insertions(+), 42 deletions(-) (limited to 'include/sec.h') diff --git a/include/sec.h b/include/sec.h index 9b5f82b..ddd9502 100644 --- a/include/sec.h +++ b/include/sec.h @@ -65,12 +65,6 @@ struct ipc_message_info; #define IPC_SEC_RSIM_COMMAND_UPDATE_BINARY 0xd6 #define IPC_SEC_RSIM_COMMAND_STATUS 0xf2 -#define IPC_SEC_RSIM_ACCESS_UNKNOWN 0x00 -#define IPC_SEC_RSIM_ACCESS_COMP_NORMAL 0x01 -#define IPC_SEC_RSIM_ACCESS_COMP_WARNING 0x02 -#define IPC_SEC_RSIM_ACCESS_ABORT_EXEC 0x03 -#define IPC_SEC_RSIM_ACCESS_ABORT_CHECK 0x04 - struct ipc_sec_pin_status_noti { unsigned char type; unsigned char key; @@ -116,45 +110,11 @@ struct ipc_sec_lock_info_response { unsigned char attempts; } __attribute__((__packed__)); -/* - * struct ipc_sec_sim_filesystem_entry - * Source: cornucopia fsogsmd/src/lib/consts.vala - * Git HEAD: f2e0268075ffb15ef237371cd2e1896561567665 - * - * Copyright (C) 2009-2011 Michael 'Mickey' Lauer - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ - -struct ipc_sec_sim_filesystem_entry -{ - uint16_t id; - uint16_t parent; - char *name; -}; - -int ipc_sec_rsim_access_response_get_status(struct ipc_message_info *response); -char* ipc_sec_rsim_access_response_get_file_data(struct ipc_message_info *response); -void ipc_sec_rsim_access_request_setup(struct ipc_sec_rsim_access_request *request, - unsigned char command, char *entry_name, - unsigned char p1, unsigned char p2, unsigned char p3); - void ipc_sec_pin_status_set_setup(struct ipc_sec_pin_status_set *message, unsigned char pin_type, char *pin1, char *pin2); +char* ipc_sec_rsim_access_response_get_file_data(struct ipc_message_info *response); + #endif // vim:ts=4:sw=4:expandtab -- cgit v1.2.3