diff options
author | 2009-03-29 11:37:29 -0400 | |
---|---|---|
committer | 2009-03-29 11:37:29 -0400 | |
commit | 843fcc973f4cf7b149d4f57732fb66f812115320 (patch) | |
tree | bae33dd5ebd8393e6dd1b30f7d1a2b75241c9956 /include/types.h | |
parent | 9f3c3a0215d3f23c8e51fa4824d21dfeaa08ede0 (diff) |
Redo channels, making them single-client
Diffstat (limited to 'include/types.h')
-rw-r--r-- | include/types.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/types.h b/include/types.h index d1ed2fd2..ddbff76b 100644 --- a/include/types.h +++ b/include/types.h @@ -17,7 +17,11 @@ typedef struct uw_context *uw_context; typedef uw_Basis_string uw_Basis_xhtml; typedef uw_Basis_string uw_Basis_page; -typedef size_t uw_Basis_channel; + +typedef unsigned uw_Basis_client; +typedef struct { + unsigned cli, chn; +} uw_Basis_channel; typedef enum { SUCCESS, FATAL, BOUNDED_RETRY, UNLIMITED_RETRY } failure_kind; |