File modules/nh/nh.h

  $Revision: 1.3 $

Status: NOT REVUED, NOT TESTED
Author(s): Andrei Robachevsky
Included in: modules/nh/nh.c

Included Files


Preprocessor definitions

#define _NH_H

#define MAX_NH_LENGTH 64

#define MAX_NH_SPACE_LENGTH 5

#define MAX_NH_SOURCE_LENGTH 10

#define MAX_NIC_ID 999999

#define NULL_NIC_ID 0

#define AUTO_NIC_ID 1

#define MIN_NIC_ID 2

#define MAX_RANGE

#define MIN_RANGE NULL_NIC_ID

#define NH_DELETE 1000

#define NH_INSERT 2000

#define NH_commit( sql_connection )

#define NH_rollback( sql_connection )


Typedef range_t

typedef struct _range_t range_t
struct _range_t 
   { 
     long start; 
     long end; 
     char* space; 
     char* source; 
   } 

Typedef nic_handle_t

typedef struct _nic_handle_t nic_handle_t
struct _nic_handle_t 
   { 
     long nic_id; 
     char* space; 
     char* source; 
   }