ns-allinone-2.35/nam-1.15/nam_stream.cc
NamStreamPipe*
NamStreamPipe::open_pipe(const char *fn)
{
	NamStreamPipe *p;

	for (p = head_; p; p = p->next_) {
		if (! strcmp(fn, p->pipename_))
			return p;
	}
	return new NamStreamPipe(fn);
}
/**********************************************************************
 * Reentrant function for opening nam pipe stream.
 *
 * RETURN: pointer to an NamStreamPipe instance that is associated
 *         with the specified pipe.
 **********************************************************************/
Reentrant function for opening nam pipe stream.
RETURN: pointer to an NamStreamPipe instance that is associated
with the specified pipe.
Reentrant function for opening nam pipe stream . RETURN : pointer to an NamStreamPipe instance that is associated with the specified pipe .
NamStreamPipe*
NamStreamPipe::open_pipe(const char *fn)
{
	NamStreamPipe *p;
	for (p = head_; p; p = p->next_) {
		if (! strcmp(fn, p->pipename_))
			return p;
	}
	return new NamStreamPipe(fn);
}
NamStreamPipe * NamStreamPipe :: open_pipe ( const char * fn ) { NamStreamPipe * p ; for ( p = head_ ; p ; p = p -> next_ ) { if ( ! strcmp ( fn , p -> pipename_ ) ) return p ; } return new NamStreamPipe ( fn ) ; }
Reentrant function for opening nam pipe stream.
Reentrant function for opening nam pipe stream .