projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Fix it so socket is built just on main tests.
[m6w6/libmemcached]
/
libtest
/
server.h
diff --git
a/libtest/server.h
b/libtest/server.h
index c09469ecea160164f1076f62968e5a96b9bb1196..d987a0b7d3307e8e5ebde87b4014b022bc7d9104 100644
(file)
--- a/
libtest/server.h
+++ b/
libtest/server.h
@@
-171,6
+171,7
@@
class server_startup_st
{
private:
std::string server_list;
{
private:
std::string server_list;
+ bool _socket;
public:
public:
@@
-178,6
+179,7
@@
public:
std::vector<Server *> servers;
server_startup_st() :
std::vector<Server *> servers;
server_startup_st() :
+ _socket(false),
udp(0)
{ }
udp(0)
{ }
@@
-194,6
+196,17
@@
public:
bool is_helgrind() const;
bool is_valgrind() const;
bool is_helgrind() const;
bool is_valgrind() const;
+ bool socket()
+ {
+ return _socket;
+ }
+
+ void set_socket()
+ {
+ _socket= true;
+ }
+
+
void shutdown(bool remove= false);
void push_server(Server *);
Server *pop_server();
void shutdown(bool remove= false);
void push_server(Server *);
Server *pop_server();