Lines Matching refs:fc

1330 	struct fake_commpoint* fc = (struct fake_commpoint*)calloc(1,
1331 sizeof(*fc));
1332 if(!fc) return NULL;
1333 fc->typecode = FAKE_COMMPOINT_TYPECODE;
1334 return (struct comm_point*)fc;
1343 struct fake_commpoint* fc = (struct fake_commpoint*)calloc(1,
1344 sizeof(*fc));
1345 if(!fc) return NULL;
1346 fc->typecode = FAKE_COMMPOINT_TYPECODE;
1347 return (struct comm_point*)fc;
1364 struct fake_commpoint* fc = (struct fake_commpoint*)c;
1366 log_assert(fc->typecode == FAKE_COMMPOINT_TYPECODE);
1367 if(fc->type_tcp_out) {
1369 pending_list_delete(fc->runtime, fc->pending);
1652 struct fake_commpoint* fc = (struct fake_commpoint*)calloc(1,
1653 sizeof(*fc));
1654 if(!fc) return NULL;
1655 fc->typecode = FAKE_COMMPOINT_TYPECODE;
1656 fc->type_udp_out = 1;
1657 fc->cb = cb;
1658 fc->cb_arg = cb_arg;
1659 fc->runtime = runtime;
1661 return (struct comm_point*)fc;
1672 struct fake_commpoint* fc = (struct fake_commpoint*)calloc(1,
1673 sizeof(*fc));
1676 if(!fc || !pend) {
1677 free(fc);
1681 fc->typecode = FAKE_COMMPOINT_TYPECODE;
1682 fc->type_tcp_out = 1;
1683 fc->cb = cb;
1684 fc->cb_arg = cb_arg;
1685 fc->runtime = runtime;
1686 fc->pending = pend;
1692 free(fc);
1734 return (struct comm_point*)fc;
1744 struct fake_commpoint* fc = (struct fake_commpoint*)calloc(1,
1745 sizeof(*fc));
1746 if(!fc) {
1749 fc->typecode = FAKE_COMMPOINT_TYPECODE;
1750 fc->type_http_out = 1;
1751 fc->cb = cb;
1752 fc->cb_arg = cb_arg;
1753 fc->runtime = runtime;
1764 return (struct comm_point*)fc;
1770 struct fake_commpoint* fc = (struct fake_commpoint*)c;
1771 struct replay_runtime* runtime = fc->runtime;
1778 fc->pending = pend;
1807 pend->callback = fc->cb;
1808 pend->cb_arg = fc->cb_arg;