00001 /* Gearman server and library 00002 * Copyright (C) 2008 Brian Aker, Eric Day 00003 * All rights reserved. 00004 * 00005 * Use and distribution licensed under the BSD license. See 00006 * the COPYING file in the parent directory for full text. 00007 */ 00008 00014 #ifndef __GEARMAN_SERVER_CLIENT_H__ 00015 #define __GEARMAN_SERVER_CLIENT_H__ 00016 00017 #ifdef __cplusplus 00018 extern "C" { 00019 #endif 00020 00032 GEARMAN_API 00033 gearman_server_client_st * 00034 gearman_server_client_add(gearman_server_con_st *con); 00035 00039 GEARMAN_API 00040 gearman_server_client_st * 00041 gearman_server_client_create(gearman_server_con_st *con, 00042 gearman_server_client_st *client); 00043 00047 GEARMAN_API 00048 void gearman_server_client_free(gearman_server_client_st *client); 00049 00052 #ifdef __cplusplus 00053 } 00054 #endif 00055 00056 #endif /* __GEARMAN_SERVER_CLIENT_H__ */