Mercurial > urweb
comparison src/c/urweb.c @ 866:03e7f111fe99
Start of multi-DBMS support
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Sun, 28 Jun 2009 13:49:32 -0400 |
parents | 6304f5e8fbb4 |
children | 3c7b48040dcf |
comparison
equal
deleted
inserted
replaced
865:ebefb0609ac3 | 866:03e7f111fe99 |
---|---|
284 } | 284 } |
285 | 285 |
286 | 286 |
287 // Global entry points | 287 // Global entry points |
288 | 288 |
289 extern void uw_client_init(); | |
290 | |
289 void uw_global_init() { | 291 void uw_global_init() { |
290 srand(time(NULL) ^ getpid()); | 292 srand(time(NULL) ^ getpid()); |
291 | 293 |
292 clients = malloc(0); | 294 clients = malloc(0); |
295 | |
296 uw_client_init(); | |
293 } | 297 } |
294 | 298 |
295 | 299 |
296 // Single-request state | 300 // Single-request state |
297 | 301 |