aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAlexander Tarasikov <alexander.tarasikov@gmail.com>2012-08-24 20:52:39 +0400
committerAlexander Tarasikov <alexander.tarasikov@gmail.com>2012-08-24 20:52:39 +0400
commit74f505ceb284bf2d286c834b588f5cbf73cf2731 (patch)
tree99b2fd07d1ffa211c123514840a48d9fbee20ee7 /include
parent5999a66ad4405527dfca6c823bce2ce5b0eef0e1 (diff)
parent4bd59903ac2a4697241730d1d30476f2be088414 (diff)
downloadexternal_libsamsung-ipc-74f505ceb284bf2d286c834b588f5cbf73cf2731.zip
external_libsamsung-ipc-74f505ceb284bf2d286c834b588f5cbf73cf2731.tar.gz
external_libsamsung-ipc-74f505ceb284bf2d286c834b588f5cbf73cf2731.tar.bz2
Merge tag 'tuna-stc-jb-v1' into morphis-master
Conflicts: samsung-ipc/device/maguro/maguro_loader.c
Diffstat (limited to 'include')
-rw-r--r--include/Makefile.am1
-rw-r--r--include/wakelock.h27
2 files changed, 28 insertions, 0 deletions
diff --git a/include/Makefile.am b/include/Makefile.am
index 3f177d3..edb3a55 100644
--- a/include/Makefile.am
+++ b/include/Makefile.am
@@ -16,6 +16,7 @@ samsung_ipcinclude_HEADERS = \
gprs.h \
snd.h \
rfs.h \
+ wakelock.h \
$(NULL)
samsung_ipc_v4includedir = $(includedir)/samsung-ipc-1.0/device/ipc-v4/
diff --git a/include/wakelock.h b/include/wakelock.h
new file mode 100644
index 0000000..db1815b
--- /dev/null
+++ b/include/wakelock.h
@@ -0,0 +1,27 @@
+/**
+ * This file is part of libsamsung-ipc.
+ *
+ * Copyright (C) 2012 Alexander Tarasikov <alexander.tarasikov@gmail.com>
+ *
+ * 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 __WAKELOCK_H__
+#define __WAKELOCK_H__
+
+extern int wake_lock(char *lock_name);
+extern int wake_unlock(char *lock_name);
+
+#endif //__WAKELOCK_H__