aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSimon Busch <morphis@gravedo.de>2011-10-29 18:55:55 +0200
committerSimon Busch <morphis@gravedo.de>2011-10-29 18:55:55 +0200
commitf4923749132fe32f54b4f300f84071481559d606 (patch)
tree353d130c912f18a794defe60415b2490fc0fa553 /include
parentb722c61ccd5fea0e19ec4e3274a37cd99fa1b7d5 (diff)
downloadexternal_libsamsung-ipc-f4923749132fe32f54b4f300f84071481559d606.zip
external_libsamsung-ipc-f4923749132fe32f54b4f300f84071481559d606.tar.gz
external_libsamsung-ipc-f4923749132fe32f54b4f300f84071481559d606.tar.bz2
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')
-rw-r--r--include/call.h1
-rw-r--r--include/disp.h1
-rw-r--r--include/gen.h1
-rw-r--r--include/gprs.h1
-rw-r--r--include/misc.h27
-rw-r--r--include/net.h1
-rw-r--r--include/pwr.h2
-rw-r--r--include/radio.h1
-rw-r--r--include/sec.h1
-rw-r--r--include/sms.h51
-rw-r--r--include/types.h76
-rw-r--r--include/util.h1
12 files changed, 88 insertions, 76 deletions
diff --git a/include/call.h b/include/call.h
index 4784039..19e3317 100644
--- a/include/call.h
+++ b/include/call.h
@@ -97,3 +97,4 @@ char* ipc_call_list_response_get_entry_number(struct ipc_message_info *response,
#endif
+// vim:ts=4:sw=4:expandtab
diff --git a/include/disp.h b/include/disp.h
index 1deb599..607e86a 100644
--- a/include/disp.h
+++ b/include/disp.h
@@ -35,3 +35,4 @@ struct ipc_disp_rssi_info {
#endif
+// vim:ts=4:sw=4:expandtab
diff --git a/include/gen.h b/include/gen.h
index e318168..a7cc2e1 100644
--- a/include/gen.h
+++ b/include/gen.h
@@ -31,3 +31,4 @@
#endif
+// vim:ts=4:sw=4:expandtab
diff --git a/include/gprs.h b/include/gprs.h
index b32b2de..efe4324 100644
--- a/include/gprs.h
+++ b/include/gprs.h
@@ -94,3 +94,4 @@ void ipc_gprs_pdp_context_setup(struct ipc_gprs_pdp_context *message, char *user
#endif
+// vim:ts=4:sw=4:expandtab
diff --git a/include/misc.h b/include/misc.h
index 111fe7b..550a931 100644
--- a/include/misc.h
+++ b/include/misc.h
@@ -23,27 +23,28 @@
struct ipc_message_info;
-#define IPC_MISC_ME_VERSION 0x0A01
-#define IPC_MISC_ME_IMSI 0x0A02
-#define IPC_MISC_ME_SN 0x0A03
-#define IPC_MISC_TIME_INFO 0x0A07
+#define IPC_MISC_ME_VERSION 0x0A01
+#define IPC_MISC_ME_IMSI 0x0A02
+#define IPC_MISC_ME_SN 0x0A03
+#define IPC_MISC_TIME_INFO 0x0A07
struct ipc_misc_me_version {
- char sw_version[32];
- char hw_version[32];
- char cal_date[32];
- char misc[32];
+ char sw_version[32];
+ char hw_version[32];
+ char cal_date[32];
+ char misc[32];
} __attribute__((__packed__));
struct ipc_misc_time_info {
- unsigned char tz_valid, daylight_valid;
- unsigned char year, mon, day;
- unsigned char hour, min, sec;
- unsigned char tz, dl, dv;
- char plmn[6];
+ unsigned char tz_valid, daylight_valid;
+ unsigned char year, mon, day;
+ unsigned char hour, min, sec;
+ unsigned char tz, dl, dv;
+ char plmn[6];
} __attribute__((__packed__));
char* ipc_misc_me_imsi_response_get_imsi(struct ipc_message_info *response);
#endif
+// vim:ts=4:sw=4:expandtab
diff --git a/include/net.h b/include/net.h
index fe6f328..4a306dc 100644
--- a/include/net.h
+++ b/include/net.h
@@ -89,3 +89,4 @@ void ipc_net_regist_get(struct ipc_net_regist_get *message, int domain);
#endif
+// vim:ts=4:sw=4:expandtab
diff --git a/include/pwr.h b/include/pwr.h
index a977557..ab1a23e 100644
--- a/include/pwr.h
+++ b/include/pwr.h
@@ -35,4 +35,4 @@
#endif
-
+// vim:ts=4:sw=4:expandtab
diff --git a/include/radio.h b/include/radio.h
index d1c842e..6615491 100644
--- a/include/radio.h
+++ b/include/radio.h
@@ -90,3 +90,4 @@ const char *ipc_response_type_to_str(int type);
#endif
+// vim:ts=4:sw=4:expandtab
diff --git a/include/sec.h b/include/sec.h
index d5dee00..2a77c03 100644
--- a/include/sec.h
+++ b/include/sec.h
@@ -116,3 +116,4 @@ void ipc_sec_pin_status_set_setup(struct ipc_sec_pin_status_set *message,
#endif
+// vim:ts=4:sw=4:expandtab
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
diff --git a/include/types.h b/include/types.h
index 375d6d7..3e225c6 100644
--- a/include/types.h
+++ b/include/types.h
@@ -32,16 +32,16 @@
#include "gprs.h"
/* AP -> Baseband */
-#define IPC_TYPE_EXEC 0x01
-#define IPC_TYPE_GET 0x02
-#define IPC_TYPE_SET 0x03
-#define IPC_TYPE_CFRM 0x04
-#define IPC_TYPE_EVENT 0x05
+#define IPC_TYPE_EXEC 0x01
+#define IPC_TYPE_GET 0x02
+#define IPC_TYPE_SET 0x03
+#define IPC_TYPE_CFRM 0x04
+#define IPC_TYPE_EVENT 0x05
/* Baseband -> AP */
-#define IPC_TYPE_INDI 0x01
-#define IPC_TYPE_RESP 0x02
-#define IPC_TYPE_NOTI 0x03
+#define IPC_TYPE_INDI 0x01
+#define IPC_TYPE_RESP 0x02
+#define IPC_TYPE_NOTI 0x03
/* Message groups */
#define IPC_GROUP_PWR 0x01
@@ -64,40 +64,42 @@
#define IPC_GROUP_GEN 0x80
/* Pb */
-#define IPC_PB_ACCESS 0x0601
-#define IPC_PB_STORAGE 0x0602
-#define IPC_PB_STORAGE_LIST 0x0603
-#define IPC_PB_ENTRY_INFO 0x0604
-#define IPC_PB_CAPABILITY_INFO 0x0605
+#define IPC_PB_ACCESS 0x0601
+#define IPC_PB_STORAGE 0x0602
+#define IPC_PB_STORAGE_LIST 0x0603
+#define IPC_PB_ENTRY_INFO 0x0604
+#define IPC_PB_CAPABILITY_INFO 0x0605
/* SS */
-#define IPC_SS_WAITING 0x0C01
-#define IPC_SS_CLI 0x0C02
-#define IPC_SS_BARRING 0x0C03
-#define IPC_SS_BARRING_PW 0x0C04
-#define IPC_SS_FORWARDING 0x0C05
-#define IPC_SS_INFO 0x0C06
-#define IPC_SS_MANAGE_CALL 0x0C07
-#define IPC_SS_USSD 0x0C08
-#define IPC_SS_AOC 0x0C09
-#define IPC_SS_RELEASE_COMPLETE 0x0C0A
+#define IPC_SS_WAITING 0x0C01
+#define IPC_SS_CLI 0x0C02
+#define IPC_SS_BARRING 0x0C03
+#define IPC_SS_BARRING_PW 0x0C04
+#define IPC_SS_FORWARDING 0x0C05
+#define IPC_SS_INFO 0x0C06
+#define IPC_SS_MANAGE_CALL 0x0C07
+#define IPC_SS_USSD 0x0C08
+#define IPC_SS_AOC 0x0C09
+#define IPC_SS_RELEASE_COMPLETE 0x0C0A
/* Sat */
-#define IPC_SAT_PROFILE_DOWNLOAD 0x0E01
-#define IPC_SAT_ENVELOPE_CMD 0x0E02
-#define IPC_SAT_PROACTIVE_CMD 0x0E03
-#define IPC_SAT_TERMINATE_USAT_SESSION 0x0E04
-#define IPC_SAT_EVENT_DOWNLOAD 0x0E05
-#define IPC_SAT_PROVIDE_LOCAL_INFO 0x0E06
-#define IPC_SAT_POLLING 0x0E07
-#define IPC_SAT_REFRESH 0x0E08
-#define IPC_SAT_SETUP_EVENT_LIST 0x0E09
-#define IPC_SAT_CALL_CONTROL_RESULT 0x0E0A
-#define IPC_SAT_IMAGE_CLUT 0x0E0B
-#define IPC_SAT_CALL_PROCESSING 0x0E0C
+#define IPC_SAT_PROFILE_DOWNLOAD 0x0E01
+#define IPC_SAT_ENVELOPE_CMD 0x0E02
+#define IPC_SAT_PROACTIVE_CMD 0x0E03
+#define IPC_SAT_TERMINATE_USAT_SESSION 0x0E04
+#define IPC_SAT_EVENT_DOWNLOAD 0x0E05
+#define IPC_SAT_PROVIDE_LOCAL_INFO 0x0E06
+#define IPC_SAT_POLLING 0x0E07
+#define IPC_SAT_REFRESH 0x0E08
+#define IPC_SAT_SETUP_EVENT_LIST 0x0E09
+#define IPC_SAT_CALL_CONTROL_RESULT 0x0E0A
+#define IPC_SAT_IMAGE_CLUT 0x0E0B
+#define IPC_SAT_CALL_PROCESSING 0x0E0C
/* IMEI */
-#define IPC_IMEI_START 0x1001
-#define IPC_IMEI_CHECK_DEVICE_INFO 0x1002
+#define IPC_IMEI_START 0x1001
+#define IPC_IMEI_CHECK_DEVICE_INFO 0x1002
#endif
+
+// vim:ts=4:sw=4:expandtab
diff --git a/include/util.h b/include/util.h
index da9872b..68fffbc 100644
--- a/include/util.h
+++ b/include/util.h
@@ -29,3 +29,4 @@ void *file_read(char *file_name, int size, int block_size);
#endif
+// vim:ts=4:sw=4:expandtab