diff options
author | Simon Busch <morphis@gravedo.de> | 2011-10-29 18:55:55 +0200 |
---|---|---|
committer | Simon Busch <morphis@gravedo.de> | 2011-10-29 18:55:55 +0200 |
commit | f4923749132fe32f54b4f300f84071481559d606 (patch) | |
tree | 353d130c912f18a794defe60415b2490fc0fa553 /include/sms.h | |
parent | b722c61ccd5fea0e19ec4e3274a37cd99fa1b7d5 (diff) | |
download | hardware_replicant_libsamsung-ipc-f4923749132fe32f54b4f300f84071481559d606.tar.gz hardware_replicant_libsamsung-ipc-f4923749132fe32f54b4f300f84071481559d606.tar.bz2 hardware_replicant_libsamsung-ipc-f4923749132fe32f54b4f300f84071481559d606.zip |
Add vim modeline for uniform indentation
On IRC we agreed to use vim:ts=4:sw=4:expandtab as uniform indentation style for the
library.
Signed-off-by: Simon Busch <morphis@gravedo.de>
Diffstat (limited to 'include/sms.h')
-rw-r--r-- | include/sms.h | 51 |
1 files changed, 26 insertions, 25 deletions
diff --git a/include/sms.h b/include/sms.h index d9c7c91..a9d185b 100644 --- a/include/sms.h +++ b/include/sms.h @@ -21,36 +21,36 @@ #ifndef __SMS_H__ #define __SMS_H__ -#define IPC_SMS_SEND_MSG 0x0401 -#define IPC_SMS_INCOMING_MSG 0x0402 -#define IPC_SMS_READ_MSG 0x0403 -#define IPC_SMS_SAVE_MSG 0x0404 -#define IPC_SMS_DEL_MSG 0x0405 -#define IPC_SMS_DELIVER_REPORT 0x0406 -#define IPC_SMS_DEVICE_READY 0x0407 -#define IPC_SMS_SEL_MEM 0x0408 -#define IPC_SMS_STORED_MSG_COUNT 0x0409 -#define IPC_SMS_SVC_CENTER_ADDR 0x040A -#define IPC_SMS_SVC_OPTION 0x040B -#define IPC_SMS_MEM_STATUS 0x040C -#define IPC_SMS_CBS_MSG 0x040D -#define IPC_SMS_CBS_CONFIG 0x040E -#define IPC_SMS_STORED_MSG_STATUS 0x040F -#define IPC_SMS_PARAM_COUNT 0x0410 -#define IPC_SMS_PARAM 0x0411 - -#define IPC_SMS_MSG_MULTIPLE 1 -#define IPC_SMS_MSG_SINGLE 2 - -#define IPC_SMS_TYPE_POINT_TO_POINT 1 -#define IPC_SMS_TYPE_STATUS_REPORT 2 +#define IPC_SMS_SEND_MSG 0x0401 +#define IPC_SMS_INCOMING_MSG 0x0402 +#define IPC_SMS_READ_MSG 0x0403 +#define IPC_SMS_SAVE_MSG 0x0404 +#define IPC_SMS_DEL_MSG 0x0405 +#define IPC_SMS_DELIVER_REPORT 0x0406 +#define IPC_SMS_DEVICE_READY 0x0407 +#define IPC_SMS_SEL_MEM 0x0408 +#define IPC_SMS_STORED_MSG_COUNT 0x0409 +#define IPC_SMS_SVC_CENTER_ADDR 0x040A +#define IPC_SMS_SVC_OPTION 0x040B +#define IPC_SMS_MEM_STATUS 0x040C +#define IPC_SMS_CBS_MSG 0x040D +#define IPC_SMS_CBS_CONFIG 0x040E +#define IPC_SMS_STORED_MSG_STATUS 0x040F +#define IPC_SMS_PARAM_COUNT 0x0410 +#define IPC_SMS_PARAM 0x0411 + +#define IPC_SMS_MSG_MULTIPLE 1 +#define IPC_SMS_MSG_SINGLE 2 + +#define IPC_SMS_TYPE_POINT_TO_POINT 1 +#define IPC_SMS_TYPE_STATUS_REPORT 2 struct ipc_sms_send_msg { - unsigned char hint, length; + unsigned char hint, length; } __attribute__((__packed__)); struct ipc_sms_incoming_msg { - unsigned char type, unk, length; + unsigned char type, unk, length; } __attribute__((__packed__)); void ipc_sms_send_msg(unsigned char *data, unsigned char length, int request_id); @@ -58,3 +58,4 @@ void ipc_sms_deliver_report(int request_id); #endif +// vim:ts=4:sw=4:expandtab |