From e64584f780edddc0816ebafb6ebb13cdd5fa95fb Mon Sep 17 00:00:00 2001 From: PaulK Date: Fri, 24 Feb 2012 17:21:15 +0100 Subject: Fixed ipc_sec_phone_lock stuctures --- include/sec.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'include/sec.h') diff --git a/include/sec.h b/include/sec.h index 2fc48a0..5c7b90b 100644 --- a/include/sec.h +++ b/include/sec.h @@ -78,12 +78,16 @@ struct ipc_sec_pin_status_set { unsigned char pin2[8]; } __attribute__((__packed__)); -struct ipc_sec_phone_lock_request { +struct ipc_sec_phone_lock_set { unsigned char type; // IPC_SEC_PIN_SIM_LOCK_... unsigned char lock; unsigned char length; unsigned char password[39]; -}; +} __attribute__((__packed__)); + +struct ipc_sec_phone_lock_get { + unsigned char type; // IPC_SEC_PIN_SIM_LOCK_... +} __attribute__((__packed__)); struct ipc_sec_phone_lock_response { unsigned char type; -- cgit v1.1