Hi,
Here is part 2 of the command line client promised some time ago. This time
around the D-Bus pretty-printing, method call sending and property settings
have been updated with each command updated to use the new helper functions.
IP address and monitor command syntax has been updated, they should now
work as expected.
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 | 13 +-
client/commands.c | 859 ++++++++++++++++++++++++++++++++++++++++---------
client/commands.h | 24 ++
client/data_manager.c | 282 ----------------
client/data_manager.h | 45 ---
client/dbus.c | 80 -----
client/dbus.h | 65 ----
client/dbus_helpers.c | 271 ++++++++++++++++
client/dbus_helpers.h | 62 ++++
client/input.c | 183 +++++++++++
client/input.h | 41 +++
client/interactive.c | 118 -------
client/interactive.h | 34 --
client/main.c | 106 +-----
client/monitor.c | 345 --------------------
client/monitor.h | 44 ---
client/services.c | 565 +++++---------------------------
client/services.h | 40 +--
client/technology.c | 188 -----------
client/technology.h | 40 ---
20 files changed, 1377 insertions(+), 2028 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