/* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements.  See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License.  You may obtain a copy of the License at
*
*     http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

/**
 * @file dw_version.h
 * @brief Defines the dworker version information.
 */

#ifndef _DW_VERSION_H_
#define _DW_VERSION_H_

#include "apr_general.h"

#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
    
    
#define DW_MAJOR_VERSION 0
#define DW_MINOR_VERSION 1
#define DW_PATCH_VERSION 0

#define DW_DEVBUILD_BOOLEAN 1

#if DW_DEVBUILD_BOOLEAN
#define DW_VER_ADD_STRING "-dev"
#else
#define DW_VER_ADD_STRING "-release"
#endif

#define DW_VERSION_STRING  APR_STRINGIFY(DW_MAJOR_VERSION) "." \
                            APR_STRINGIFY(DW_MINOR_VERSION) "." \
                            APR_STRINGIFY(DW_PATCH_VERSION) \
                            DW_VER_ADD_STRING

#ifdef __cplusplus
}
#endif /* __cplusplus */

#endif /* _DW_VERSION_H_ */
