diff options
author | Joerie de Gram <j.de.gram@gmail.com> | 2011-10-28 18:02:49 +0200 |
---|---|---|
committer | Joerie de Gram <j.de.gram@gmail.com> | 2011-10-28 18:04:45 +0200 |
commit | 28cbef8271908eddef649f31a67dc6b0380b1802 (patch) | |
tree | bc96341c6caba6fea217b04890540f3844ccbfc5 /samsung-ipc | |
parent | 7d531412e240ef4a13541c6321602348b00dc6d3 (diff) | |
download | external_libsamsung-ipc-28cbef8271908eddef649f31a67dc6b0380b1802.zip external_libsamsung-ipc-28cbef8271908eddef649f31a67dc6b0380b1802.tar.gz external_libsamsung-ipc-28cbef8271908eddef649f31a67dc6b0380b1802.tar.bz2 |
net: correct net_regist_get and add helper
Diffstat (limited to 'samsung-ipc')
-rw-r--r-- | samsung-ipc/net.c | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/samsung-ipc/net.c b/samsung-ipc/net.c new file mode 100644 index 0000000..9024e86 --- /dev/null +++ b/samsung-ipc/net.c @@ -0,0 +1,27 @@ +/** + * This file is part of libsamsung-ipc. + * + * Copyright (C) 2010-2011 Joerie de Gram <j.de.gram@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/>. + * + */ + +#include <radio.h> + +void ipc_net_regist_get(struct ipc_net_regist_get *message, int domain) +{ + message->net = 0xff; + message->domain = domain; +} |