comparison include/types.h @ 682:5bbb542243e8

Redo channels, making them single-client
author Adam Chlipala <adamc@hcoop.net>
date Sun, 29 Mar 2009 11:37:29 -0400
parents b0c1a46b1f15
children 9864b64b1700
comparison
equal deleted inserted replaced
681:6c9b8875f347 682:5bbb542243e8
15 15
16 typedef struct uw_context *uw_context; 16 typedef struct uw_context *uw_context;
17 17
18 typedef uw_Basis_string uw_Basis_xhtml; 18 typedef uw_Basis_string uw_Basis_xhtml;
19 typedef uw_Basis_string uw_Basis_page; 19 typedef uw_Basis_string uw_Basis_page;
20 typedef size_t uw_Basis_channel; 20
21 typedef unsigned uw_Basis_client;
22 typedef struct {
23 unsigned cli, chn;
24 } uw_Basis_channel;
21 25
22 26
23 typedef enum { SUCCESS, FATAL, BOUNDED_RETRY, UNLIMITED_RETRY } failure_kind; 27 typedef enum { SUCCESS, FATAL, BOUNDED_RETRY, UNLIMITED_RETRY } failure_kind;
24 28
25 29