shill: Add ByteString class

This can be used to store lumps of bytes.  This will be used in
IP Addresses, which will be used in routes.

BUG=chromium-os:17277
TEST=New unittest

Change-Id: Id9a635d9811997e1a734f7fd1c3d24bf37cfd807
Reviewed-on: http://gerrit.chromium.org/gerrit/4179
Reviewed-by: Darin Petkov <petkov@chromium.org>
Tested-by: Paul Stewart <pstew@chromium.org>
4 files changed
tree: 42a7bec14f358c4574de37a947020848630f5203
  1. accessor_interface.h
  2. adaptor_interfaces.h
  3. byte_string.cc
  4. byte_string.h
  5. byte_string_unittest.cc
  6. cellular.cc
  7. cellular.h
  8. cellular_service.cc
  9. cellular_service.h
  10. cellular_unittest.cc
  11. control_interface.h
  12. crypto_des_cbc.cc
  13. crypto_des_cbc.h
  14. crypto_des_cbc_unittest.cc
  15. crypto_interface.h
  16. crypto_provider.cc
  17. crypto_provider.h
  18. crypto_provider_unittest.cc
  19. crypto_rot47.cc
  20. crypto_rot47.h
  21. crypto_rot47_unittest.cc
  22. dbus_adaptor.cc
  23. dbus_adaptor.h
  24. dbus_adaptor_unittest.cc
  25. dbus_control.cc
  26. dbus_control.h
  27. default_profile.cc
  28. default_profile.h
  29. default_profile_unittest.cc
  30. device.cc
  31. device.h
  32. device_dbus_adaptor.cc
  33. device_dbus_adaptor.h
  34. device_info.cc
  35. device_info.h
  36. device_info_unittest.cc
  37. device_stub.h
  38. device_unittest.cc
  39. dhcp_config.cc
  40. dhcp_config.h
  41. dhcp_config_unittest.cc
  42. dhcp_provider.cc
  43. dhcp_provider.h
  44. dhcp_provider_unittest.cc
  45. dhcp_proxy_interface.h
  46. dhcpcd.xml
  47. dhcpcd_proxy.cc
  48. dhcpcd_proxy.h
  49. endpoint.cc
  50. endpoint.h
  51. ephemeral_profile.cc
  52. ephemeral_profile.h
  53. error.cc
  54. error.h
  55. ethernet.cc
  56. ethernet.h
  57. ethernet_service.cc
  58. ethernet_service.h
  59. flimflam-device.xml
  60. flimflam-ipconfig.xml
  61. flimflam-manager.xml
  62. flimflam-profile.xml
  63. flimflam-service.xml
  64. glib.cc
  65. glib.h
  66. glib_io_handler.cc
  67. glib_io_handler.h
  68. inherit-review-settings-ok
  69. io_handler.h
  70. ipconfig.cc
  71. ipconfig.h
  72. ipconfig_dbus_adaptor.cc
  73. ipconfig_dbus_adaptor.h
  74. ipconfig_unittest.cc
  75. key_file_store.cc
  76. key_file_store.h
  77. key_file_store_unittest.cc
  78. Makefile
  79. manager.cc
  80. manager.h
  81. manager_dbus_adaptor.cc
  82. manager_dbus_adaptor.h
  83. manager_unittest.cc
  84. mock_adaptors.cc
  85. mock_adaptors.h
  86. mock_control.cc
  87. mock_control.h
  88. mock_device.cc
  89. mock_device.h
  90. mock_dhcp_proxy.h
  91. mock_glib.h
  92. mock_profile.cc
  93. mock_profile.h
  94. mock_property_store.h
  95. mock_service.cc
  96. mock_service.h
  97. mock_sockets.h
  98. mock_store.h
  99. modem_info.cc
  100. modem_info.h
  101. modem_info_unittest.cc
  102. modem_manager.cc
  103. modem_manager.h
  104. modem_manager_unittest.cc
  105. profile.cc
  106. profile.h
  107. profile_dbus_adaptor.cc
  108. profile_dbus_adaptor.h
  109. profile_unittest.cc
  110. property_accessor.h
  111. property_accessor_unittest.cc
  112. property_iterator.h
  113. property_store.cc
  114. property_store.h
  115. property_store_unittest.cc
  116. property_store_unittest.h
  117. refptr_types.h
  118. rtnl_handler.cc
  119. rtnl_handler.h
  120. rtnl_listener.cc
  121. rtnl_listener.h
  122. rtnl_listener_unittest.cc
  123. service.cc
  124. service.h
  125. service_dbus_adaptor.cc
  126. service_dbus_adaptor.h
  127. service_unittest.cc
  128. shill.conf
  129. shill_config.cc
  130. shill_config.h
  131. shill_daemon.cc
  132. shill_daemon.h
  133. shill_event.cc
  134. shill_event.h
  135. shill_main.cc
  136. shill_unittest.cc
  137. sockets.cc
  138. sockets.h
  139. store_interface.h
  140. supplicant-bss.xml
  141. supplicant-interface.xml
  142. supplicant-network.xml
  143. supplicant-process.xml
  144. testrunner.cc
  145. WATCHLISTS
  146. wifi.cc
  147. wifi.h
  148. wifi_endpoint.cc
  149. wifi_endpoint.h
  150. wifi_service.cc
  151. wifi_service.h
  152. wifi_unittest.cc