Lines Matching defs:g_apTransports
161 static const PCTXSTRANSPORT g_apTransports[] =
3171 g_pTransport = g_apTransports[0];
3199 for (size_t i = 0; i < RT_ELEMENTS(g_apTransports); i++)
3200 RTStrmPrintf(pStrm, " %s - %s\n", g_apTransports[i]->szName, g_apTransports[i]->pszDesc);
3221 for (size_t i = 0; i < RT_ELEMENTS(g_apTransports); i++)
3222 if (g_apTransports[i]->cOpts)
3226 "Options for %s:\n", g_apTransports[i]->szName);
3227 g_apTransports[i]->pfnUsage(g_pStdOut);
3270 for (size_t i = 0; i < RT_ELEMENTS(g_apTransports); i++)
3271 cOptions += g_apTransports[i]->cOpts;
3279 for (size_t i = 0; i < RT_ELEMENTS(g_apTransports); i++)
3281 memcpy(&paOptions[cOptions], g_apTransports[i]->paOpts, g_apTransports[i]->cOpts * sizeof(RTGETOPTDEF));
3282 cOptions += g_apTransports[i]->cOpts;
3338 for (size_t i = 0; RT_ELEMENTS(g_apTransports); i++)
3339 if (!strcmp(g_apTransports[i]->szName, Val.psz))
3341 pTransport = g_apTransports[i];
3367 for (size_t i = 0; i < RT_ELEMENTS(g_apTransports); i++)
3368 if (g_apTransports[i]->cOpts)
3370 rc = g_apTransports[i]->pfnOption(ch, &Val);