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.


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


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)



Typedef Documentation

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

void RFCNB_AName_To_NBName ( char *  AName,
char *  NBName 

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

References i.

int RFCNB_Close ( int  fd)

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

Referenced by RFCNB_Call(), and RFCNB_Hangup().

void RFCNB_CvtPad_Name ( char *  name1,
char *  name2 

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

References i, int, and len.

Referenced by RFCNB_Session_Req().

int RFCNB_IP_Connect ( struct in_addr  Dest_IP,
int  port 

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

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

Referenced by RFCNB_Call().

int RFCNB_Name_To_IP ( char *  host,
struct in_addr *  Dest_IP 
void RFCNB_NBName_To_AName ( char *  NBName,
char *  AName 

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

References i, and int.

Referenced by RFCNB_Print_Pkt().

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, i, RFCNB_Pkt::len, RFCNB_Pkt::next, and NULL.

Referenced by RFCNB_Print_Pkt().

Variable Documentation

RFCNB_Prot_Print_Routine* Prot_Print_Routine

Definition at line 52 of file session.c.

Referenced by RFCNB_Print_Pkt().






Web Site Translations