aboutsummaryrefslogtreecommitdiff
path: root/bbot/agent
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-04-30 23:21:12 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-04-30 23:26:21 +0300
commit0ffb0a1a0a13d07c4448f7752232d8854b790623 (patch)
tree9d1e173375d53e05c52568dc69633ed98697190d /bbot/agent
parent1364413cee696ff60f4dd1e3ac1eb281ac7a4e8f (diff)
Add hxx extension for headers and lib prefix for library dirs
Diffstat (limited to 'bbot/agent')
-rw-r--r--bbot/agent44
1 files changed, 0 insertions, 44 deletions
diff --git a/bbot/agent b/bbot/agent
deleted file mode 100644
index 990ad2d..0000000
--- a/bbot/agent
+++ /dev/null
@@ -1,44 +0,0 @@
-// file : bbot/agent -*- C++ -*-
-// copyright : Copyright (c) 2014-2017 Code Synthesis Ltd
-// license : TBC; see accompanying LICENSE file
-
-#ifndef BBOT_AGENT
-#define BBOT_AGENT
-
-#include <sys/types.h> // uid_t
-
-#include <bbot/types>
-#include <bbot/utility>
-
-#include <bbot/agent-options>
-
-namespace bbot
-{
- extern agent_options ops;
-
- extern const string bs_prot; // Bootstrap protocol version.
-
- extern string tc_name; // Toolchain name.
- extern uint16_t tc_num; // Toolchain number.
- extern string tc_id; // Toolchain id.
-
- extern string hname; // Our host name.
- extern uid_t uid; // Our effective user id.
- extern string uname; // Our effective user name.
-
- // Random number generator (currently not MT-safe and limited to RAND_MAX).
- //
- size_t
- genrand ();
-
- template <typename T>
- inline T
- genrand () {return static_cast<T> (genrand ());}
-
- // Return the IPv4 address of an interface.
- //
- string
- iface_addr (const string&);
-}
-
-#endif // BBOT_AGENT