File pm/protocol_mirror.h

  $Revision: 1.8 $

Near real-time mirror server module (pm). NRTM protocol.
Status: NOT REVUED, NOT TESTED
Online References:
  Author:
      andrei

Included Files


Preprocessor definitions

#define PM_H

String sizes

#define STR_S 63

#define STR_M 255

#define STR_L 1023

#define STR_XL 4095

#define STR_XXL 16383

Maximum size of input that can be recieved from the client.

#define MAX_PM_INPUT_SIZE 256

#define SAFE_BACKLOG 1

#define PM_get_current_serial( connection )

#define PM_get_oldest_serial( connection )


Typedef nrtm_q_t

typedef struct _nrtm_q_t nrtm_q_t
struct _nrtm_q_t 
   { 
     char* source; 
     int version; 
     long first; 
     long last; 
   } 

Local Function asctime_r()

static char* asctime_r ( const struct tm* __tm, char* __buf )
Included from: /usr/include/time.h
Calls: __posix_asctime_r()

Local Function ctime_r()

static char* ctime_r ( const time_t* __time, char* __buf )
Included from: /usr/include/time.h
Calls: __posix_ctime_r()

Local Function getlogin_r()

static int getlogin_r ( char* __name, int __len )
Included from: /usr/include/unistd.h
Calls: __posix_getlogin_r()

Local Function ttyname_r()

static int ttyname_r ( int __fildes, char* __buf, size_t __size )
Included from: /usr/include/unistd.h
Calls: __posix_ttyname_r()