diff options
author | PaulK <contact@paulk.fr> | 2011-12-25 23:36:45 +0100 |
---|---|---|
committer | PaulK <contact@paulk.fr> | 2011-12-25 23:36:45 +0100 |
commit | b3ae1307d322ad481de85203f1b5e06361815680 (patch) | |
tree | af34c6898fa59c437db87d876dd44294bdd97e1a /include/rfs.h | |
parent | fb3cb9b28bab88d69792f7032d29248e4a9ff55b (diff) | |
download | external_libsamsung-ipc-b3ae1307d322ad481de85203f1b5e06361815680.zip external_libsamsung-ipc-b3ae1307d322ad481de85203f1b5e06361815680.tar.gz external_libsamsung-ipc-b3ae1307d322ad481de85203f1b5e06361815680.tar.bz2 |
Added RFS headers and RECV function for crespo
Diffstat (limited to 'include/rfs.h')
-rw-r--r-- | include/rfs.h | 42 |
1 files changed, 42 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 |