mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 07:23:09 +02:00
use var passed by reference
This commit is contained in:
@@ -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__ */
|
||||
|
Reference in New Issue
Block a user