/*
Bacula(R) - The Network Backup Solution
- Copyright (C) 2000-2018 Kern Sibbald
+ Copyright (C) 2000-2019 Kern Sibbald
The original author of Bacula is Kern Sibbald, with contributions
from many others, a complete list can be found in the file AUTHORS.
#include "bacula.h"
-typedef enum {
+enum _OutputType {
OT_INT, /* Integer */
OT_SIZE, /* int64 size */
OT_PINT32, /* Uint32 */
OT_END_OBJ, /* Skip a line to end current object (no extra arg) */
OT_CLEAR, /* truncate current buffer (no extra arg) */
OT_DURATION /* time duration in second */
-} OutputType;
+};
+/* Force OutputType to int to avoid compiler default conversion warnings */
+typedef int OutputType;
/* Keep the same order for get_options/parse_options */
typedef enum {
** For disclaimer see below.
*/
/*
- * Modified for use with Bacula by Kern Sibbald, June 2003
+ * Modified for use with Bacula by Kern Sibbald, June 2003, Jan 2019
*/
struct var_st;
typedef struct var_st var_t;
-typedef enum {
+enum _var_config_t {
VAR_CONFIG_SYNTAX,
VAR_CONFIG_CB_VALUE,
VAR_CONFIG_CB_OPERATION
-} var_config_t;
+};
+/* Force var_config_t to int to avoid compiler default conversion warnings */
+typedef int var_config_t;
typedef struct {
char escape; /* default: '\' */