diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/rfs.h | 42 | ||||
-rw-r--r-- | include/types.h | 2 |
2 files changed, 44 insertions, 0 deletions
diff --git a/include/rfs.h b/include/rfs.h new file mode 100644 index 0000000..7ce8cc2 --- /dev/null +++ b/include/rfs.h @@ -0,0 +1,42 @@ +/** + * This file is part of libsamsung-ipc. + * + * Copyright (C) 2011 Paul Kocialkowski <contact@paulk.fr> + * + * libsamsung-ipc 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 3 of the License, or + * (at your option) any later version. + * + * libsamsung-ipc 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 libsamsung-ipc. If not, see <http://www.gnu.org/licenses/>. + * + */ + +#ifndef __RFS_H__ +#define __RFS_H__ + +struct ipc_message_info; + +#define IPC_RFS_NV_READ_ITEM 0x4201 +#define IPC_RFS_NV_WRITE_ITEM 0x4202 + +struct ipc_rfs_io { + unsigned int offset; + unsigned int length; +} __attribute__((__packed__)); + +struct ipc_rfs_io_confirm { + unsigned char confirm; + unsigned int offset; + unsigned int length; +} __attribute__((__packed__)); + +#endif + +// vim:ts=4:sw=4:expandtab diff --git a/include/types.h b/include/types.h index 0505820..0211042 100644 --- a/include/types.h +++ b/include/types.h @@ -29,6 +29,7 @@ #include "sec.h" #include "sms.h" #include "pwr.h" +#include "rfs.h" #include "snd.h" #include "gprs.h" @@ -62,6 +63,7 @@ #define IPC_GROUP_IMEI 0x10 #define IPC_GROUP_GPS 0x11 #define IPC_GROUP_SAP 0x12 +#define IPC_GROUP_RFS 0x42 #define IPC_GROUP_GEN 0x80 /* Pb */ |