diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-04-11 14:45:07 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-04-11 14:45:07 +0200 |
commit | 5e2eafd7c43545740efb0c3304ff68bba1f4d0a6 (patch) | |
tree | 4b50859a8febb0b04f5a7fff0c649b68c7f1d18f /bbot/agent | |
parent | ae714a0b77b5a5eda977e56c43205fbfb8821ca8 (diff) |
Implement TFTP server support in agent
Diffstat (limited to 'bbot/agent')
-rw-r--r-- | bbot/agent | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -5,6 +5,8 @@ #ifndef BBOT_AGENT #define BBOT_AGENT +#include <sys/types.h> // uid_t + #include <bbot/types> #include <bbot/utility> @@ -19,6 +21,14 @@ namespace bbot extern string tc_name; // Toolchain name. extern string tc_num; // Toolchain number. extern string tc_id; // Toolchain id. + + extern uid_t uid; // Our effective user id. + extern string uname; // Our effective user name. + + // Return the IPv4 address of an interface. + // + string + iface_addr (const string&); } #endif // BBOT_AGENT |