X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libtest%2Fmemcached.h;h=405f275f786ed9b20ed0798e5894f7b9176b398d;hb=9bf4bad8ef3ee7f713904d8c85b73fe54f461739;hp=5620400a7affc471f946e9c6c900fec664875c89;hpb=04b8554c3724eae57fbd75dc6b3e69dca8b58187;p=m6w6%2Flibmemcached diff --git a/libtest/memcached.h b/libtest/memcached.h index 5620400a..405f275f 100644 --- a/libtest/memcached.h +++ b/libtest/memcached.h @@ -1,8 +1,8 @@ /* vim:expandtab:shiftwidth=2:tabstop=2:smarttab: - * - * libtest * - * Copyright (C) 2011 Data Differential, http://datadifferential.com/ + * Data Differential YATL (i.e. libtest) library + * + * Copyright (C) 2012 Data Differential, http://datadifferential.com/ * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are @@ -38,11 +38,15 @@ namespace libtest { -LIBTEST_API -Server *build_memcached(const std::string& hostname, const in_port_t try_port); +libtest::Server *build_memcached(const std::string& hostname, const in_port_t try_port); + +libtest::Server *build_memcached_light(const std::string& socket_file, const in_port_t try_port); + +libtest::Server *build_memcached_socket(const std::string& socket_file, const in_port_t try_port); + +libtest::Server *build_memcached_sasl(const std::string& hostname, const in_port_t try_port, const std::string& username, const std::string& password); -LIBTEST_API -Server *build_memcached_socket(const std::string& socket_file, const in_port_t try_port); +libtest::Server *build_memcached_sasl_socket(const std::string& socket_file, const in_port_t try_port, const std::string& username, const std::string& password); }