Lines Matching refs:newSource
240 EventSource * newSource;
248 newSource = ( EventSource*) malloc( sizeof *newSource );
249 if ( newSource == NULL )
255 newSource->callback = callback;
256 newSource->context = context;
257 newSource->sock = sock;
258 newSource->fd = mDNSPlatformTCPGetFD( sock );
260 AddToTail( &self->eventSources, newSource );