Lines Matching defs:fc

1423 	struct fake_commpoint* fc = (struct fake_commpoint*)calloc(1,
1424 sizeof(*fc));
1425 if(!fc) return NULL;
1426 fc->typecode = FAKE_COMMPOINT_TYPECODE;
1427 return (struct comm_point*)fc;
1436 struct fake_commpoint* fc = (struct fake_commpoint*)calloc(1,
1437 sizeof(*fc));
1438 if(!fc) return NULL;
1439 fc->typecode = FAKE_COMMPOINT_TYPECODE;
1440 return (struct comm_point*)fc;
1457 struct fake_commpoint* fc = (struct fake_commpoint*)c;
1459 log_assert(fc->typecode == FAKE_COMMPOINT_TYPECODE);
1460 if(fc->type_tcp_out) {
1462 pending_list_delete(fc->runtime, fc->pending);
1760 struct fake_commpoint* fc = (struct fake_commpoint*)calloc(1,
1761 sizeof(*fc));
1762 if(!fc) return NULL;
1763 fc->typecode = FAKE_COMMPOINT_TYPECODE;
1764 fc->type_udp_out = 1;
1765 fc->cb = cb;
1766 fc->cb_arg = cb_arg;
1767 fc->runtime = runtime;
1769 return (struct comm_point*)fc;
1780 struct fake_commpoint* fc = (struct fake_commpoint*)calloc(1,
1781 sizeof(*fc));
1784 if(!fc || !pend) {
1785 free(fc);
1789 fc->typecode = FAKE_COMMPOINT_TYPECODE;
1790 fc->type_tcp_out = 1;
1791 fc->cb = cb;
1792 fc->cb_arg = cb_arg;
1793 fc->runtime = runtime;
1794 fc->pending = pend;
1800 free(fc);
1842 return (struct comm_point*)fc;
1852 struct fake_commpoint* fc = (struct fake_commpoint*)calloc(1,
1853 sizeof(*fc));
1854 if(!fc) {
1857 fc->typecode = FAKE_COMMPOINT_TYPECODE;
1858 fc->type_http_out = 1;
1859 fc->cb = cb;
1860 fc->cb_arg = cb_arg;
1861 fc->runtime = runtime;
1873 return (struct comm_point*)fc;
1879 struct fake_commpoint* fc = (struct fake_commpoint*)c;
1880 struct replay_runtime* runtime = fc->runtime;
1887 fc->pending = pend;
1916 pend->callback = fc->cb;
1917 pend->cb_arg = fc->cb_arg;