1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
/* 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 Definition for gearman_command_info_st
*/
#ifndef __GEARMAN_COMMAND_H__
#define __GEARMAN_COMMAND_H__
#ifdef __cplusplus
extern "C" {
#endif
#ifdef GEARMAN_CORE
/**
* @ingroup gearman_packet
*/
struct gearman_command_info_st
{
const char *name;
const uint8_t argc; // Number of arguments to commands.
const bool data;
};
#endif /* GEARMAN_CORE */
#ifdef __cplusplus
}
#endif
#endif /* __GEARMAN_COMMAND_H__ */
|