8:f4d56bf9de40 | 9:30e51941a673 |
---|---|
26 * POSSIBILITY OF SUCH DAMAGE. | 26 * POSSIBILITY OF SUCH DAMAGE. |
27 */ | 27 */ |
28 | 28 |
29 #include <stdio.h> | 29 #include <stdio.h> |
30 #include <stdlib.h> | 30 #include <stdlib.h> |
31 #include <dlfcn.h> | |
31 | 32 |
32 #include "nsapi.h" | 33 #include "nsapi.h" |
33 #include "systhr.h" | 34 #include "systhr.h" |
34 | 35 |
35 #include "func.h" | 36 #include "func.h" |
55 // load server.conf | 56 // load server.conf |
56 load_server_conf(NULL); | 57 load_server_conf(NULL); |
57 | 58 |
58 // init NSAPI functions | 59 // init NSAPI functions |
59 | 60 |
60 | |
61 | 61 |
62 return 0; | 62 return 0; |
63 } | 63 } |
64 | 64 |
65 int webserver_run() { | 65 int webserver_run() { |
70 fprintf(stderr, "Error: Cannot start http listener\n"); | 70 fprintf(stderr, "Error: Cannot start http listener\n"); |
71 } | 71 } |
72 | 72 |
73 return 0; | 73 return 0; |
74 } | 74 } |
75 | |
76 | |
77 void webserver_atrestart(void (*fn)(void *), void *data) { | |
78 /* | |
79 * TODO: implement later | |
80 * only for mod_jk at this time | |
81 */ | |
82 } | |
83 |