MCPcopy Index your code
hub / github.com/MapServer/MapServer / msIO_Initialize

Function msIO_Initialize

mapio.c:546–571  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

544/************************************************************************/
545
546static void msIO_Initialize( void )
547
548{
549 if( is_msIO_initialized == MS_TRUE )
550 return;
551
552 default_contexts.stdin_context.label = "stdio";
553 default_contexts.stdin_context.write_channel = MS_FALSE;
554 default_contexts.stdin_context.readWriteFunc = msIO_stdioRead;
555 default_contexts.stdin_context.cbData = (void *) stdin;
556
557 default_contexts.stdout_context.label = "stdio";
558 default_contexts.stdout_context.write_channel = MS_TRUE;
559 default_contexts.stdout_context.readWriteFunc = msIO_stdioWrite;
560 default_contexts.stdout_context.cbData = (void *) stdout;
561
562 default_contexts.stderr_context.label = "stdio";
563 default_contexts.stderr_context.write_channel = MS_TRUE;
564 default_contexts.stderr_context.readWriteFunc = msIO_stdioWrite;
565 default_contexts.stderr_context.cbData = (void *) stderr;
566
567 default_contexts.next = NULL;
568 default_contexts.thread_id = 0;
569
570 is_msIO_initialized = MS_TRUE;
571}
572
573/* ==================================================================== */
574/* ==================================================================== */

Callers 3

msIO_GetContextGroupFunction · 0.85
msIO_getHandlerFunction · 0.85
msIO_installHandlersFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected