session.c File Reference
#include "squid.h"
#include "rfcnb/std-includes.h"
#include <netinet/tcp.h>
#include "rfcnb/rfcnb-io.h"
#include "rfcnb/rfcnb-priv.h"
#include "rfcnb/rfcnb-util.h"
#include "rfcnb/rfcnb.h"
Include dependency graph for session.c:

Go to the source code of this file.

Macros

#define RFCNB_ERRNO
 

Functions

void * RFCNB_Call (char *Called_Name, char *Calling_Name, char *Called_Address, int port)
 
int RFCNB_Send (struct RFCNB_Con *Con_Handle, struct RFCNB_Pkt *udata, int Length)
 
int RFCNB_Recv (void *con_Handle, struct RFCNB_Pkt *Data, int Length)
 
int RFCNB_Hangup (struct RFCNB_Con *con_Handle)
 
int RFCNB_Set_Sock_NoDelay (struct RFCNB_Con *con_Handle, BOOL yn)
 
void RFCNB_Get_Error (char *buffer, int buf_len)
 
int RFCNB_Get_Last_Error ()
 

Variables

int RFCNB_errno = 0
 
int RFCNB_saved_errno = 0
 
int RFCNB_Stats [RFCNB_MAX_STATS]
 
RFCNB_Prot_Print_RoutineProt_Print_Routine = NULL
 

Macro Definition Documentation

◆ RFCNB_ERRNO

#define RFCNB_ERRNO

Definition at line 37 of file session.c.

Function Documentation

◆ RFCNB_Call()

◆ RFCNB_Get_Error()

void RFCNB_Get_Error ( char *  buffer,
int  buf_len 
)

Definition at line 316 of file session.c.

References RFCNB_errno, RFCNB_Error_Strings, RFCNB_saved_errno, and strerror().

Referenced by SMB_Get_Error_Msg().

◆ RFCNB_Get_Last_Error()

int RFCNB_Get_Last_Error ( void  )

Definition at line 329 of file session.c.

References RFCNB_errno.

Referenced by manage_request().

◆ RFCNB_Hangup()

int RFCNB_Hangup ( struct RFCNB_Con con_Handle)

Definition at line 284 of file session.c.

References RFCNB_Con::fd, NULL, and RFCNB_Close().

Referenced by SMB_Discon().

◆ RFCNB_Recv()

◆ RFCNB_Send()

◆ RFCNB_Set_Sock_NoDelay()

int RFCNB_Set_Sock_NoDelay ( struct RFCNB_Con con_Handle,
BOOL  yn 
)

Definition at line 296 of file session.c.

References RFCNB_Con::fd.

Variable Documentation

◆ Prot_Print_Routine

RFCNB_Prot_Print_Routine* Prot_Print_Routine = NULL

Definition at line 52 of file session.c.

Referenced by RFCNB_Print_Pkt().

◆ RFCNB_errno

◆ RFCNB_saved_errno

◆ RFCNB_Stats

int RFCNB_Stats[RFCNB_MAX_STATS]

Definition at line 50 of file session.c.

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors