void CloseShare() { if(networkShareInit) smbClose("smb"); networkShareInit = false; networkInit = false; // trigger a network reinit }
void CloseShare() { if(networkShareInit) smbClose("smb"); networkShareInit = false; isMounted[DEVICE_SMB] = false; }
void CloseShare() { if(smbismount) { printf("Disconnected from SMB share\n"); smbClose("smb"); } smbismount = false; }
void CloseShare(bool silent) { if(smbismount) { if (!silent) Gui::gui->status_bar->queueMessage("Disconnected from SMB share"); #ifdef GEKKO smbClose("smb"); #endif } smbismount = false; }
/**************************************************************************** * Close SMB Share ****************************************************************************/ void CloseSMBShare(int connection) { if(connection < 0 || connection >= MAXSMBUSERS) return; char mountname[10]; sprintf(mountname, "smb%i", connection+1); if(IsSMB_Mounted(connection)) smbClose(mountname); SMB_Mounted[connection] = false; }
void CloseShare() { if(networkShareInit) smbClose(); networkShareInit = false; }