Hi,
Version 2 of the command line client part 2 makes connmanctl self-contained,
with all code residing in client/ and a few helper functions used from
gdbus/. This change eliminates the compile time mess when using functions
from the main source directory.
Cheers,
Patrik
Patrik Flykt (23):
client: Add connmanctl D-Bus helper functions
client: Add pretty-printing for ServicesChanged signal
client: Add input handling
client: Reimplement monitor command
client: Delete the now obsolete monitor.[hc] files
client: Handle exit and inprogress values
client: Remove readline handling from main.c
client: Remove now obsolete client/interactive.[hc] files
client: Add calls to save and redraw input prompt
client: Print out help header if non-interactive
client: Use D-Bus helper functions for state method call
client: Use D-Bus helper functions for service connect and disconnect
client: Use D-Bus helpers for Technology GetTechnologies method call
client: Use D-Bus helpers for Technology Scan method call
client: Add support functions for setting properties
client: Use D-Bus helper functions for Technology enabling/disabling
client: Use D-Bus helper function to implement services command
client: Use helper functions for IP, autoconnect and removal
client: Use helper functions for setting domains, nameservers and
timeservers
client: Use D-Bus helper functions when setting proxy
client: Remove now obsolete function
client: Remove now obsolete functions and files
client: Move boolean parsing helper function to commands file
Makefile.am | 12 +-
client/commands.c | 855 ++++++++++++++++++++++++++++++++++++++++---------
client/commands.h | 25 ++
client/data_manager.c | 282 ----------------
client/data_manager.h | 45 ---
client/dbus.c | 80 -----
client/dbus.h | 65 ----
client/dbus_helpers.c | 373 +++++++++++++++++++++
client/dbus_helpers.h | 68 ++++
client/input.c | 184 +++++++++++
client/input.h | 42 +++
client/interactive.c | 118 -------
client/interactive.h | 34 --
client/main.c | 111 +------
client/monitor.c | 345 --------------------
client/monitor.h | 44 ---
client/services.c | 560 +++++---------------------------
client/services.h | 35 +-
client/technology.c | 188 -----------
client/technology.h | 40 ---
20 files changed, 1485 insertions(+), 2021 deletions(-)
create mode 100644 client/commands.h
delete mode 100644 client/data_manager.c
delete mode 100644 client/data_manager.h
delete mode 100644 client/dbus.c
delete mode 100644 client/dbus.h
create mode 100644 client/dbus_helpers.c
create mode 100644 client/dbus_helpers.h
create mode 100644 client/input.c
create mode 100644 client/input.h
delete mode 100644 client/interactive.c
delete mode 100644 client/interactive.h
delete mode 100644 client/monitor.c
delete mode 100644 client/monitor.h
delete mode 100644 client/technology.c
delete mode 100644 client/technology.h
--
1.7.10.4
_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman