aboutsummaryrefslogtreecommitdiffstats
path: root/include/misc.h
diff options
context:
space:
mode:
authorJoerie de Gram <j.de.gram@gmail.com>2011-07-28 17:28:40 +0200
committerJoerie de Gram <j.de.gram@gmail.com>2011-07-28 17:45:37 +0200
commiteb964932d2708ee1bae9bdae493a4cfc5e59da5d (patch)
treebbc626802de5bddf2fe68ceb64ec03f19a52be52 /include/misc.h
parent6e47b9ecdbe6732482123073aebea221b674917f (diff)
downloadexternal_libsamsung-ipc-eb964932d2708ee1bae9bdae493a4cfc5e59da5d.zip
external_libsamsung-ipc-eb964932d2708ee1bae9bdae493a4cfc5e59da5d.tar.gz
external_libsamsung-ipc-eb964932d2708ee1bae9bdae493a4cfc5e59da5d.tar.bz2
Cleanup, preliminary calling/sms support
Diffstat (limited to 'include/misc.h')
-rw-r--r--include/misc.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/include/misc.h b/include/misc.h
new file mode 100644
index 0000000..d964f91
--- /dev/null
+++ b/include/misc.h
@@ -0,0 +1,40 @@
+/**
+ * This file is part of libmsm-h1.
+ *
+ * Copyright (C) 2010-2011 Joerie de Gram <j.de.gram@gmail.com>
+ *
+ * libmsm-h1 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.
+ *
+ * libmsm-h1 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 libmsm-h1. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+
+#ifndef __MISC_H__
+#define __MISC_H__
+
+#define MSM_MISC_ME_VERSION 0x0A01
+#define MSM_MISC_ME_IMSI 0x0A02
+#define MSM_MISC_ME_SN 0x0A03
+#define MSM_MISC_TIME_INFO 0x0A07
+
+struct msm_misc_time_info {
+ unsigned char tzv, dlv;
+ unsigned char year, mon, day;
+ unsigned char hour, min, sec;
+ unsigned char tz, dl, dv;
+ char plmn[6];
+} __attribute__((__packed__));
+
+void msm_misc_me_sn(int request_id);
+
+#endif
+