Category : Files from Magazines
Archive   : FEB91.ZIP
Filename : 2N02048B

 
Output of file : 2N02048B contained in archive : FEB91.ZIP

#include
#include "netbios.h"

/**************************************************
* shutdown_netbios - Clear name table entry
* Parameters: name (in) - application name used
* during init_netbios()
* Returns: 0 for success, else
* return codes defined for NCB_DELETE_NAME
* History: Original code by William H. Roetzheim
***************************************************/

unsigned int shutdown_netbios(char *name)
{
int i;
struct net_control_block ncb;

init_ncb(&ncb);
for (i = 0; i < 15; i++)
{
if (name[i] == 0) break;
ncb.l_name[i] = name[i++];
}
ncb.command = NCB_DELETE_NAME;
return ncb.retcode;
}





  3 Responses to “Category : Files from Magazines
Archive   : FEB91.ZIP
Filename : 2N02048B

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/