diff options
author | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2022-02-09 11:16:59 +0100 |
---|---|---|
committer | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2022-03-28 20:50:42 +0200 |
commit | 40818e0370c423942062fa81c7d168ebef60e04d (patch) | |
tree | 2a131be0c61bde2736da993483d299edb18ea098 /tools/ipc-modem.h | |
parent | 91ac87c54b942977bec90d44329d4146dac2435f (diff) | |
download | hardware_replicant_libsamsung-ipc-40818e0370c423942062fa81c7d168ebef60e04d.tar.gz hardware_replicant_libsamsung-ipc-40818e0370c423942062fa81c7d168ebef60e04d.tar.bz2 hardware_replicant_libsamsung-ipc-40818e0370c423942062fa81c7d168ebef60e04d.zip |
tools: ipc-modem: move ipc_client struct in private data struct
Having everything needed in the same struct will simplify the code
later on as we could also move the global variables there as well.
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Diffstat (limited to 'tools/ipc-modem.h')
-rw-r--r-- | tools/ipc-modem.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/ipc-modem.h b/tools/ipc-modem.h index 0b31d83..ec8e78c 100644 --- a/tools/ipc-modem.h +++ b/tools/ipc-modem.h @@ -42,7 +42,8 @@ enum log_target { LOG_TO_SYSLOG, }; -struct cmdline_opts { +struct ipc_modem_data { + struct ipc_client *client; enum command command; bool debug; bool dry_run; |