MCPcopy Create free account
hub / github.com/OpenSIPS/opensips / init_twrite_lines

Function init_twrite_lines

modules/tm/t_fifo.c:366–382  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

364
365
366int init_twrite_lines(void)
367{
368 int i;
369
370 /* init the line table */
371 for(i=0;i<TWRITE_PARAMS;i++) {
372 lines_eol[2*i].s = 0;
373 lines_eol[2*i].len = 0;
374 lines_eol[2*i+1] = eol;
375 }
376
377 /* first line is the version - fill it now */
378 eol_line(0).s = TWRITE_VERSION_S;
379 eol_line(0).len = TWRITE_VERSION_LEN;
380
381 return 0;
382}
383
384
385

Callers 1

mod_initFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected