Mercurial > urweb
comparison src/c/urweb.c @ 1164:8679ba87cf3c
sigfile directive
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Thu, 11 Feb 2010 09:10:01 -0500 |
parents | a62ac791f7fb |
children | e80582b927f2 |
comparison
equal
deleted
inserted
replaced
1163:6c507826fae9 | 1164:8679ba87cf3c |
---|---|
328 } | 328 } |
329 | 329 |
330 | 330 |
331 // Global entry points | 331 // Global entry points |
332 | 332 |
333 extern void uw_global_custom(); | |
333 extern void uw_init_crypto(); | 334 extern void uw_init_crypto(); |
334 | 335 |
335 void uw_global_init() { | 336 void uw_global_init() { |
336 srand(time(NULL) ^ getpid()); | 337 srand(time(NULL) ^ getpid()); |
337 | 338 |
338 clients = malloc(0); | 339 clients = malloc(0); |
339 | 340 |
341 uw_global_custom(); | |
340 uw_init_crypto(); | 342 uw_init_crypto(); |
341 } | 343 } |
342 | 344 |
343 void uw_app_init(uw_app *app) { | 345 void uw_app_init(uw_app *app) { |
344 app->client_init(); | 346 app->client_init(); |