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