00001 /* -*- Mode: C++ -*- 00002 * Worldvisions Weaver Software: 00003 * Copyright (C) 1997-2002 Net Integration Technologies, Inc. 00004 * 00005 * Version number and string manipulations. Version numbers are 32-bit 00006 * hexadecimal numbers such as 0x00012a00. The first 16 bits are the major 00007 * version, and the second 16 bits are the (fractional) minor version. For 00008 * example, the above example corresponds to version "1.2a" (which is the 00009 * version string). 00010 */ 00011 #ifndef __VERSTRING_H 00012 #define __VERSTRING_H 00013 00014 const char *ver_to_string(unsigned int ver); 00015 unsigned int string_to_ver(const char *str); 00016 00017 #endif // __VERSTRING_H