MCPcopy Index your code
hub / github.com/git/git / add_fill_function

Function add_fill_function

http.c:1693–1703  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1691static struct fill_chain *fill_cfg;
1692
1693void add_fill_function(void *data, int (*fill)(void *))
1694{
1695 struct fill_chain *new_fill = xmalloc(sizeof(*new_fill));
1696 struct fill_chain **linkp = &fill_cfg;
1697 new_fill->data = data;
1698 new_fill->fill = fill;
1699 new_fill->next = NULL;
1700 while (*linkp)
1701 linkp = &(*linkp)->next;
1702 *linkp = new_fill;
1703}
1704
1705void fill_active_slots(void)
1706{

Callers 2

get_http_walkerFunction · 0.85
run_request_queueFunction · 0.85

Calls 1

xmallocFunction · 0.70

Tested by

no test coverage detected