rfcnb-util.h File Reference
Include dependency graph for rfcnb-util.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef void RFCNB_Prot_Print_Routine(FILE *fd, int dir, struct RFCNB_Pkt *pkt, int header, int payload)
 

Functions

void RFCNB_CvtPad_Name (char *name1, char *name2)
 
void RFCNB_AName_To_NBName (char *AName, char *NBName)
 
void RFCNB_NBName_To_AName (char *NBName, char *AName)
 
void RFCNB_Print_Hex (FILE *fd, struct RFCNB_Pkt *pkt, int Offset, int Len)
 
void RFCNB_Print_Pkt (FILE *fd, char *dirn, struct RFCNB_Pkt *pkt, int len)
 
int RFCNB_Name_To_IP (char *host, struct in_addr *Dest_IP)
 
int RFCNB_Close (int fd)
 
int RFCNB_IP_Connect (struct in_addr Dest_IP, int port)
 
int RFCNB_Session_Req (struct RFCNB_Con *con, char *Called_Name, char *Calling_Name, BOOL *redirect, struct in_addr *Dest_IP, int *port)
 

Variables

RFCNB_Prot_Print_RoutineProt_Print_Routine
 

Typedef Documentation

◆ RFCNB_Prot_Print_Routine

typedef void RFCNB_Prot_Print_Routine(FILE *fd, int dir, struct RFCNB_Pkt *pkt, int header, int payload)

Definition at line 61 of file rfcnb-util.h.

Function Documentation

◆ RFCNB_AName_To_NBName()

void RFCNB_AName_To_NBName ( char *  AName,
char *  NBName 
)

Definition at line 109 of file rfcnb-util.c.

◆ RFCNB_Close()

int RFCNB_Close ( int  fd)

Definition at line 371 of file rfcnb-util.c.

Referenced by RFCNB_Call(), and RFCNB_Hangup().

◆ RFCNB_CvtPad_Name()

void RFCNB_CvtPad_Name ( char *  name1,
char *  name2 
)

Definition at line 71 of file rfcnb-util.c.

References int.

Referenced by RFCNB_Session_Req().

◆ RFCNB_IP_Connect()

int RFCNB_IP_Connect ( struct in_addr  Dest_IP,
int  port 
)

Definition at line 384 of file rfcnb-util.c.

References port, RFCNB_errno, RFCNB_saved_errno, RFCNBE_Bad, RFCNBE_BadSocket, and RFCNBE_ConnectFailed.

Referenced by RFCNB_Call().

◆ RFCNB_Name_To_IP()

int RFCNB_Name_To_IP ( char *  host,
struct in_addr *  Dest_IP 
)

Definition at line 336 of file rfcnb-util.c.

References INADDR_NONE, NULL, RFCNB_errno, RFCNB_saved_errno, RFCNBE_Bad, and RFCNBE_BadName.

Referenced by RFCNB_Call().

◆ RFCNB_NBName_To_AName()

void RFCNB_NBName_To_AName ( char *  NBName,
char *  AName 
)

Definition at line 130 of file rfcnb-util.c.

References int.

Referenced by RFCNB_Print_Pkt().

◆ RFCNB_Print_Hex()

void RFCNB_Print_Hex ( FILE *  fd,
struct RFCNB_Pkt pkt,
int  Offset,
int  Len 
)

Definition at line 151 of file rfcnb-util.c.

References RFCNB_Pkt::data, RFCNB_Pkt::len, RFCNB_Pkt::next, and NULL.

Referenced by RFCNB_Print_Pkt().

◆ RFCNB_Print_Pkt()

◆ RFCNB_Session_Req()

Variable Documentation

◆ Prot_Print_Routine

RFCNB_Prot_Print_Routine* Prot_Print_Routine
extern

Definition at line 52 of file session.c.

Referenced by RFCNB_Print_Pkt().

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors