diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/Makefile.am | 1 | ||||
-rw-r--r-- | include/wakelock.h | 27 |
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__ |