12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- /* Gearman server and library
- * Copyright (C) 2008 Brian Aker, Eric Day
- * All rights reserved.
- *
- * Use and distribution licensed under the BSD license. See
- * the COPYING file in the parent directory for full text.
- */
- /**
- * @file
- * @brief Client Declarations
- */
- #pragma once
- #include <libgearman-server/struct/client.h>
- #ifdef __cplusplus
- extern "C" {
- #endif
- /**
- * @addtogroup gearman_server_client Client Declarations
- * @ingroup gearman_server
- *
- * This is a low level interface for gearman server clients. This is used
- * internally by the server interface, so you probably want to look there first.
- *
- * @{
- */
- /**
- * Add a new client to a server instance.
- */
- GEARMAN_API
- gearman_server_client_st *
- gearman_server_client_add(gearman_server_con_st *con);
- /**
- * Free a server client structure.
- */
- GEARMAN_API
- void gearman_server_client_free(gearman_server_client_st *client);
- /** @} */
- #ifdef __cplusplus
- }
- #endif
|