int SMB_Discon(SMB_Handle_Type Con_Handle, BOOL KeepHandle)

{

  /* We just disconnect the connection for now ... */

  RFCNB_Hangup(Con_Handle -> Trans_Connect);

  if (!KeepHandle)
    free(Con_Handle);

  return(0);

}
Example #2
0
/* Disconnect from the server, and disconnect all tree connects */
static int 
SMB_Discon(SMB_Handle_Type Con_Handle, BOOL KeepHandle)
{
#ifdef LOG
    slog(APLOG_INFO,"SMB_Discon");
#endif
    /* We just disconnect the connection for now ... */
    RFCNB_Hangup(Con_Handle->Trans_Connect);

    if (!KeepHandle)
        free(Con_Handle);

    return 0;
}