diff options
author | Simon Busch <morphis@gravedo.de> | 2011-08-25 08:30:48 +0200 |
---|---|---|
committer | Simon Busch <morphis@gravedo.de> | 2011-08-25 08:31:08 +0200 |
commit | 43dbcb5bbfd4e94313fea74dbfbb54fa8daa6542 (patch) | |
tree | 8157fa9a34aa0cbb2761ab31e4e585e188a4a67c /samsung-ipc/ipc_private.h | |
parent | a76fbd11508d1390e8c0ea65afef6222a29ff247 (diff) | |
download | external_libsamsung-ipc-43dbcb5bbfd4e94313fea74dbfbb54fa8daa6542.zip external_libsamsung-ipc-43dbcb5bbfd4e94313fea74dbfbb54fa8daa6542.tar.gz external_libsamsung-ipc-43dbcb5bbfd4e94313fea74dbfbb54fa8daa6542.tar.bz2 |
Name ipc code lines not visible for the public with private postfix
Diffstat (limited to 'samsung-ipc/ipc_private.h')
-rw-r--r-- | samsung-ipc/ipc_private.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/samsung-ipc/ipc_private.h b/samsung-ipc/ipc_private.h new file mode 100644 index 0000000..8eb34d9 --- /dev/null +++ b/samsung-ipc/ipc_private.h @@ -0,0 +1,33 @@ +/** + * This file is part of libsamsung-ipc. + * + * Copyright (C) 2011 Simon Busch <morphis@gravedo.de> + * + * 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 __IPC_PRIVATE_H__ +#define __IPC_PRIVATE_H__ + +struct ipc_ops { + int (*open)(void); + int (*close)(void); + int (*power_on)(void); + int (*power_off)(void); + int (*send)(struct ipc_request*); + int (*recv)(struct ipc_response*); +}; + +#endif |