Mercurial > urweb
comparison include/types.h @ 739:4bb7e1c0550a
Only allow single-file upload per control
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Sat, 25 Apr 2009 14:35:49 -0400 |
parents | d049d31a1966 |
children | b302b6e35f93 |
comparison
equal
deleted
inserted
replaced
738:7fa4871e8272 | 739:4bb7e1c0550a |
---|---|
31 typedef struct uw_Basis_file { | 31 typedef struct uw_Basis_file { |
32 uw_Basis_string name; | 32 uw_Basis_string name; |
33 uw_Basis_blob data; | 33 uw_Basis_blob data; |
34 } uw_Basis_file; | 34 } uw_Basis_file; |
35 | 35 |
36 typedef struct uw_Basis_files { | |
37 size_t size; | |
38 uw_Basis_file *files; | |
39 } uw_Basis_files; | |
40 | |
41 typedef enum { SUCCESS, FATAL, BOUNDED_RETRY, UNLIMITED_RETRY } failure_kind; | 36 typedef enum { SUCCESS, FATAL, BOUNDED_RETRY, UNLIMITED_RETRY } failure_kind; |
42 | 37 |
43 | 38 |
44 #define INTS_MAX 50 | 39 #define INTS_MAX 50 |
45 #define FLOATS_MAX 100 | 40 #define FLOATS_MAX 100 |