Dan Williams
b599e3e5dc
libnm-util: simplify nm_utils_ssid_to_utf8()
...
It's always used with a GByteArray anyway, as are most
functions in nm-utils.h. Even better, we can skip the
memcpy since it turns out to be pointless.
2011-02-23 11:24:58 -06:00
Dan Williams
8b2a274660
examples: fix distcheck
2011-02-16 16:36:22 -06:00
Dan Williams
74f25416fe
examples: add an example for adding a new connection with libnm-glib
2011-02-15 12:23:05 -06:00
Dan Williams
98d5da84aa
examples: rename add-connection-glib
2011-02-15 12:09:25 -06:00
Dan Williams
ab3816ee21
examples: fix up add-connection-glib for recent API changes
...
AddConnection returns the object path of the new connection.
2011-02-15 12:06:13 -06:00
Dan Williams
e68e27aa75
libnm-util: add 'flags' argument to nm_connection_to_hash() and nm_setting_to_hash()
...
Simplifies code internally, and makes it easier for clients as well in
some cases where they want to control what ends up in the resulting
hash and what does not.
2011-01-26 14:14:37 -06:00
Dan Williams
f9ceafd4a1
Merge remote branch 'origin/master' into rm-userset
2011-01-12 15:46:37 -06:00
Jiří Klimeš
5705850779
examples: add C example showing APs' information
2010-12-17 13:42:07 +01:00
Jiří Klimeš
a6dccad94c
examples: trivial comment fix
2010-12-13 17:13:16 +01:00
Jiří Klimeš
1beb2632a0
examples: fix double free() error in get-active-connections
2010-12-13 16:36:46 +01:00
Jiří Klimeš
ca6e6b620d
examples: add C examples for listing connections from system settings service
2010-12-13 16:18:35 +01:00
Dan Williams
e821e61992
examples: update comments
2010-12-06 12:27:50 -06:00
Dan Williams
c602487ff3
test: add C example for printing active connection details
2010-12-06 12:14:06 -06:00
Dan Williams
fd3e8e4576
examples: build C examples
2010-12-06 12:12:52 -06:00
Jiří Klimeš
9ee41307fc
examples: add example for adding a connection in C (using glib)
2010-09-30 21:09:01 +02:00