Mercurial > urweb
comparison include/lacweb.h @ 138:d6d78055f001
Change driver to use Pthreads
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Sat, 19 Jul 2008 18:56:57 -0400 |
parents | 4ffdbf429e8d |
children | f0d3402184d1 |
comparison
equal
deleted
inserted
replaced
137:4ffdbf429e8d | 138:d6d78055f001 |
---|---|
6 | 6 |
7 extern lw_unit lw_unit_v; | 7 extern lw_unit lw_unit_v; |
8 | 8 |
9 lw_context lw_init(size_t page_len, size_t heap_len); | 9 lw_context lw_init(size_t page_len, size_t heap_len); |
10 void lw_free(lw_context); | 10 void lw_free(lw_context); |
11 void lw_reset(lw_context); | |
11 void *lw_malloc(lw_context, size_t); | 12 void *lw_malloc(lw_context, size_t); |
12 int lw_send(lw_context, int sock); | 13 int lw_send(lw_context, int sock); |
13 | 14 |
14 void lw_write(lw_context, const char*); | 15 void lw_write(lw_context, const char*); |
15 | 16 |