aboutsummaryrefslogtreecommitdiffstats
path: root/include/wakelock.h
diff options
context:
space:
mode:
authorAlexander Tarasikov <alexander.tarasikov@gmail.com>2012-07-26 13:55:17 +0400
committerAlexander Tarasikov <alexander.tarasikov@gmail.com>2012-07-26 13:55:59 +0400
commite4403cb5b5da34430356d1d7aedecfeca48d59e3 (patch)
tree8b3b9b9d50fc36823a4eb7400fbac1dac154757a /include/wakelock.h
parent89904c08bb3768ff993da750dab268989fe6dec0 (diff)
downloadexternal_libsamsung-ipc-e4403cb5b5da34430356d1d7aedecfeca48d59e3.zip
external_libsamsung-ipc-e4403cb5b5da34430356d1d7aedecfeca48d59e3.tar.gz
external_libsamsung-ipc-e4403cb5b5da34430356d1d7aedecfeca48d59e3.tar.bz2
Make wakelocks not crespo-specific and add for xmm6260
Diffstat (limited to 'include/wakelock.h')
-rw-r--r--include/wakelock.h27
1 files changed, 27 insertions, 0 deletions
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__