annotate include/types.h @ 749:16bfd9e244cd

INNER JOIN
author Adam Chlipala <adamc@hcoop.net>
date Tue, 28 Apr 2009 10:11:56 -0400
parents f7e2026dd5ae
children 8ce31c052dce
rev   line source
adamc@436 1 #include <time.h>
adamc@436 2
adamc@311 3 typedef long long uw_Basis_int;
adamc@311 4 typedef double uw_Basis_float;
adamc@311 5 typedef char* uw_Basis_string;
adamc@436 6 typedef time_t uw_Basis_time;
adamc@737 7 typedef struct {
adamc@737 8 size_t size;
adamc@737 9 char *data;
adamc@737 10 } uw_Basis_blob;
adamc@102 11
adamc@311 12 struct __uws_0 {
adamc@102 13 };
adamc@102 14
adamc@311 15 typedef struct __uws_0 uw_unit;
adamc@311 16 typedef uw_unit uw_Basis_unit;
adamc@117 17
adamc@311 18 typedef enum uw_Basis_bool { uw_Basis_False, uw_Basis_True } uw_Basis_bool;
adamc@186 19
adamc@311 20 typedef struct uw_context *uw_context;
adamc@117 21
adamc@311 22 typedef uw_Basis_string uw_Basis_xhtml;
adamc@311 23 typedef uw_Basis_string uw_Basis_page;
adamc@721 24 typedef uw_Basis_string uw_Basis_css_class;
adamc@682 25
adamc@682 26 typedef unsigned uw_Basis_client;
adamc@682 27 typedef struct {
adamc@682 28 unsigned cli, chn;
adamc@682 29 } uw_Basis_channel;
adamc@167 30
adamc@737 31 typedef struct uw_Basis_file {
adamc@740 32 uw_Basis_string name, type;
adamc@737 33 uw_Basis_blob data;
adamc@737 34 } uw_Basis_file;
adamc@737 35
adamc@741 36 typedef enum { SUCCESS, FATAL, BOUNDED_RETRY, UNLIMITED_RETRY, RETURN_BLOB } failure_kind;
adamc@295 37
adamc@295 38
adamc@295 39 #define INTS_MAX 50
adamc@295 40 #define FLOATS_MAX 100
adamc@436 41 #define TIMES_MAX 100
adamc@668 42