use var passed by reference

Origin commit data
------------------
Branch: ni/coolstream
Commit: ddc9229efc
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2013-04-18 (Thu, 18 Apr 2013)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2013-04-18 19:19:30 +02:00
parent 2e151da069
commit 64b0e753d8
12 changed files with 36 additions and 36 deletions

View File

@@ -24,12 +24,12 @@
#include <string>
bool getInetAttributes(const std::string name, bool &automatic_start, std::string &address, std::string &netmask, std::string &broadcast, std::string &gateway);
bool getInetAttributes(const std::string &name, bool &automatic_start, std::string &address, std::string &netmask, std::string &broadcast, std::string &gateway);
bool addLoopbackDevice(const std::string name, const bool automatic_start);
bool addLoopbackDevice(const std::string &name, const bool automatic_start);
bool setStaticAttributes(const std::string name, const bool automatic_start, const std::string address, const std::string netmask, const std::string broadcast, const std::string gateway, bool wireless = false);
bool setStaticAttributes(const std::string &name, const bool automatic_start, const std::string &address, const std::string &netmask, const std::string &broadcast, const std::string &gateway, bool wireless = false);
bool setDhcpAttributes(const std::string name, const bool automatic_start, bool wireless = false);
bool setDhcpAttributes(const std::string &name, const bool automatic_start, bool wireless = false);
#endif /* __network_interfaces_h__ */