Lines Matching defs:npp
89 char *npp; /* NETPATH env variable */
105 if ((npp = getenv(NETPATH)) == NULL) {
110 if ((np_sessionp->netpath = malloc(strlen(npp)+1)) == NULL)
113 (void) strcpy(np_sessionp->netpath, npp);
150 char *npp; /* holds current NETPATH */
172 while ((npp = np_sessionp->netpath) != NULL && strlen(npp) != 0) {
173 np_sessionp->netpath = _get_next_token(npp, ':');
175 * npp is a network identifier.
177 if ((ncp = getnetconfigent(npp)) != NULL) {
237 _get_next_token(npp, token)
238 char *npp; /* string */
245 if ((cp = strchr(npp, token)) == NULL) {
251 if ((cp > npp) && (cp[-1] == '\\')) {
253 if ((cp > npp + 1) && (cp[-2] != '\\')) {
266 ep = npp;