License.h File Reference

#include <time.h>
#include "Object.h"
#include "Singleton.h"

Include dependency graph for License.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  License

Functions

LicenseLICENSE ()

Variables

static const char *const MSG_LICENSE_INVALID = "Invalid license."
static const char *const LICENSE_IF_NAME = "eth0"
static const char *const LICENSE_FILE_PATH = "/tmp/license.dat"
static const unsigned int LICENSE_MAC_ADDRESS_SIZE = 6
static const unsigned int LICENSE_LIMIT_SIZE = 256
static const unsigned int LICENSE_MAGIC_TIME = 1111111111
static const char LICENSE_MAGIC_MAC [] = { 0x00, 0x0F, 0x44, 0x00, 0x00, 0x01 }
static const char *const LICENSE_MSG
static const unsigned int LICENSE_MSG_DELAY = 2


Function Documentation

License* LICENSE (  ) 


Variable Documentation

const char* const LICENSE_FILE_PATH = "/tmp/license.dat" [static]

Definition at line 19 of file License.h.

Referenced by License::check().

const char* const LICENSE_IF_NAME = "eth0" [static]

Definition at line 18 of file License.h.

Referenced by License::mac().

const unsigned int LICENSE_LIMIT_SIZE = 256 [static]

Definition at line 22 of file License.h.

Referenced by License::check(), and License::generate().

const unsigned int LICENSE_MAC_ADDRESS_SIZE = 6 [static]

Definition at line 21 of file License.h.

Referenced by License::check(), and License::generate().

const char LICENSE_MAGIC_MAC[] = { 0x00, 0x0F, 0x44, 0x00, 0x00, 0x01 } [static]

Definition at line 25 of file License.h.

Referenced by License::check().

const unsigned int LICENSE_MAGIC_TIME = 1111111111 [static]

Definition at line 24 of file License.h.

Referenced by License::check(), and License::generate().

const char* const LICENSE_MSG [static]

Initial value:

"\n\
 #######################################################################\n\
 # Your license is not valid or expired. Please contact UniPhone, Inc. #\n\
 #######################################################################\n\
\n"

Definition at line 27 of file License.h.

Referenced by License::checkWithMsg().

const unsigned int LICENSE_MSG_DELAY = 2 [static]

Definition at line 34 of file License.h.

Referenced by License::checkWithMsg().

const char* const MSG_LICENSE_INVALID = "Invalid license." [static]

Definition at line 16 of file License.h.

Referenced by License::check(), and License::decode().


Generated on Thu Sep 6 20:11:53 2007 for Pylon Application Platform by  doxygen 1.5.1