MCPcopy Create free account
hub / github.com/apache/httpd / show_server_data

Function show_server_data

server/mpm/netware/mpm_netware.c:799–824  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

797}
798
799static void show_server_data()
800{
801 ap_listen_rec *lr;
802 module **m;
803
804 printf("%s\n", ap_get_server_description());
805 if (ap_my_addrspace && (ap_my_addrspace[0] != 'O') && (ap_my_addrspace[1] != 'S'))
806 printf(" Running in address space %s\n", ap_my_addrspace);
807
808
809 /* Display listening ports */
810 printf(" Listening on port(s):");
811 lr = ap_listeners;
812 do {
813 printf(" %d", lr->bind_addr->port);
814 lr = lr->next;
815 } while (lr && lr != ap_listeners);
816
817 /* Display dynamic modules loaded */
818 printf("\n");
819 for (m = ap_loaded_modules; *m != NULL; m++) {
820 if (((module*)*m)->dynamic_load_handle) {
821 printf(" Loaded dynamic module %s\n", ((module*)*m)->name);
822 }
823 }
824}
825
826
827static int setup_listeners(server_rec *s)

Callers 2

netware_runFunction · 0.85
CommandLineInterpreterFunction · 0.85

Calls 1

Tested by

no test coverage detected