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_QUEUE_LIBPQ_H__ 00015 #define __GEARMAN_SERVER_QUEUE_LIBPQ_H__ 00016 00017 #ifdef __cplusplus 00018 extern "C" { 00019 #endif 00020 00030 GEARMAN_API 00031 gearman_return_t gearman_server_queue_libpq_conf(gearman_conf_st *conf); 00032 00036 GEARMAN_API 00037 gearman_return_t gearman_server_queue_libpq_init(gearman_server_st *server, 00038 gearman_conf_st *conf); 00039 00043 GEARMAN_API 00044 gearman_return_t gearman_server_queue_libpq_deinit(gearman_server_st *server); 00045 00049 GEARMAN_API 00050 gearman_return_t gearmand_queue_libpq_init(gearmand_st *gearmand, 00051 gearman_conf_st *conf); 00052 00056 GEARMAN_API 00057 gearman_return_t gearmand_queue_libpq_deinit(gearmand_st *gearmand); 00058 00061 #ifdef __cplusplus 00062 } 00063 #endif 00064 00065 #endif /* __GEARMAN_SERVER_QUEUE_LIBPQ_H__ */