A brief file description. More...
Go to the source code of this file.
Data Structures | |
struct | VersionNumber |
struct | Version |
class | AppVersionInfo |
Defines | |
#define | makeModuleVersion(_major_version, _minor_version, _module_type) |
#define | majorModuleVersion(_v) ((((int)_v) >> 16) & 255) |
#define | minorModuleVersion(_v) ((((int)_v) >> 8) & 255) |
#define | moduleVersionType(_v) ((((int)_v) >> 24) & 127) |
Enumerations | |
enum | ModuleVersion { MODULE_VERSION_MIN = 0, MODULE_VERSION_MAX = 2147483647 } |
enum | ModuleHeaderType { PUBLIC_MODULE_HEADER, PRIVATE_MODULE_HEADER } |
Functions | |
bool | operator< (VersionNumber const &lhs, VersionNumber const &rhs) |
static int | checkModuleVersion (ModuleVersion userVersion, ModuleVersion libVersion) |
A brief file description.
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.
Definition in file I_Version.h.
#define majorModuleVersion | ( | _v | ) | ((((int)_v) >> 16) & 255) |
Definition at line 67 of file I_Version.h.
Referenced by checkModuleVersion().
#define makeModuleVersion | ( | _major_version, | ||
_minor_version, | ||||
_module_type | ||||
) |
((ModuleVersion)((((int)_module_type) << 24) + \ (((int)_major_version) << 16) + \ (((int)_minor_version) << 8)))
Definition at line 62 of file I_Version.h.
Referenced by main().
#define minorModuleVersion | ( | _v | ) | ((((int)_v) >> 8) & 255) |
Definition at line 68 of file I_Version.h.
Referenced by checkModuleVersion().
#define moduleVersionType | ( | _v | ) | ((((int)_v) >> 24) & 127) |
Definition at line 69 of file I_Version.h.
Referenced by checkModuleVersion().
enum ModuleHeaderType |
Definition at line 59 of file I_Version.h.
enum ModuleVersion |
Definition at line 57 of file I_Version.h.
static int checkModuleVersion | ( | ModuleVersion | userVersion, | |
ModuleVersion | libVersion | |||
) | [inline, static] |
Definition at line 72 of file I_Version.h.
References majorModuleVersion, minorModuleVersion, moduleVersionType, PRIVATE_MODULE_HEADER, and PUBLIC_MODULE_HEADER.
Referenced by ink_aio_init(), ink_cache_init(), ink_dns_init(), ink_event_system_init(), ink_hostdb_init(), and ink_net_init().
bool operator< | ( | VersionNumber const & | lhs, | |
VersionNumber const & | rhs | |||
) | [inline] |
Definition at line 43 of file I_Version.h.
References VersionNumber::ink_major, and VersionNumber::ink_minor.