Lines Matching refs:proto
184 char proto[ STRLEN ];
187 /* url format: "proto:/user:pass@host:port/remote-path" */
188 /* split proto & user:pass@host:port, and remote-path */
189 strncpy( proto, url, sizeof(proto) );
190 if( (host = strchr( proto, '/' )) == NULL || host[-1] != ':' ) {
197 if( AgentSearch( proto ) == NULL ) {
204 mi->proto = strdup( proto );
279 srv.agent = AgentSearch( mi->proto );
286 free( mi->proto );
323 /* not match with "(...)/proto:/(....)" */
400 buf += sfsprintf( buf, end - buf, "%s://", mi->proto ? mi->proto : "-" );
479 if( mitem->proto[0] == 'p' ) { /* using proxy to connect socket */
482 if( (srv->agent = AgentSearch( mitem->proto )) == NULL ) {
483 strncpy( csusrmsg, mitem->proto, sizeof( csusrmsg ) );