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_COMMAND_H__ 00015 #define __GEARMAN_COMMAND_H__ 00016 00017 #ifdef __cplusplus 00018 extern "C" { 00019 #endif 00020 00021 #ifdef GEARMAN_CORE 00022 00025 struct gearman_command_info_st 00026 { 00027 const char *name; 00028 const uint8_t argc; // Number of arguments to commands. 00029 const bool data; 00030 }; 00031 #endif /* GEARMAN_CORE */ 00032 00033 #ifdef __cplusplus 00034 } 00035 #endif 00036 00037 #endif /* __GEARMAN_COMMAND_H__ */