|
@@ -2,7 +2,7 @@
|
|
|
*
|
|
|
* Gearmand client and server library.
|
|
|
*
|
|
|
- * Copyright (C) 2011-2012 Data Differential, http://datadifferential.com/
|
|
|
+ * Copyright (C) 2011-2013 Data Differential, http://datadifferential.com/
|
|
|
* Copyright (C) 2008 Brian Aker, Eric Day
|
|
|
* All rights reserved.
|
|
|
*
|
|
@@ -40,22 +40,13 @@
|
|
|
|
|
|
#include <libgearman-1.0/visibility.h>
|
|
|
|
|
|
-typedef enum
|
|
|
+enum gearmand_wakeup_t
|
|
|
{
|
|
|
GEARMAND_WAKEUP_PAUSE,
|
|
|
GEARMAND_WAKEUP_SHUTDOWN,
|
|
|
GEARMAND_WAKEUP_SHUTDOWN_GRACEFUL,
|
|
|
GEARMAND_WAKEUP_CON,
|
|
|
GEARMAND_WAKEUP_RUN
|
|
|
-} gearmand_wakeup_t;
|
|
|
+};
|
|
|
|
|
|
-#ifdef __cplusplus
|
|
|
-extern "C" {
|
|
|
-#endif
|
|
|
-
|
|
|
-GEARMAN_INTERNAL_API
|
|
|
const char *gearmand_strwakeup(gearmand_wakeup_t arg);
|
|
|
-
|
|
|
-#ifdef __cplusplus
|
|
|
-}
|
|
|
-#endif
|