Mercurial > urweb
comparison include/urweb.h @ 1065:217eb87dde31
Basis.url and redirects
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Thu, 10 Dec 2009 13:32:09 -0500 |
parents | e8a35d710ab9 |
children | 740b85ef4352 |
comparison
equal
deleted
inserted
replaced
1064:b89e3d8731ed | 1065:217eb87dde31 |
---|---|
207 uw_Basis_string uw_Basis_fileMimeType(uw_context, uw_Basis_file); | 207 uw_Basis_string uw_Basis_fileMimeType(uw_context, uw_Basis_file); |
208 uw_Basis_blob uw_Basis_fileData(uw_context, uw_Basis_file); | 208 uw_Basis_blob uw_Basis_fileData(uw_context, uw_Basis_file); |
209 uw_Basis_int uw_Basis_blobSize(uw_context, uw_Basis_blob); | 209 uw_Basis_int uw_Basis_blobSize(uw_context, uw_Basis_blob); |
210 | 210 |
211 __attribute__((noreturn)) void uw_return_blob(uw_context, uw_Basis_blob, uw_Basis_string mimeType); | 211 __attribute__((noreturn)) void uw_return_blob(uw_context, uw_Basis_blob, uw_Basis_string mimeType); |
212 __attribute__((noreturn)) void uw_redirect(uw_context, uw_Basis_string url); | |
212 | 213 |
213 uw_Basis_time uw_Basis_now(uw_context); | 214 uw_Basis_time uw_Basis_now(uw_context); |
214 extern const uw_Basis_time uw_Basis_minTime; | 215 extern const uw_Basis_time uw_Basis_minTime; |
215 | 216 |
216 void uw_register_transactional(uw_context, void *data, uw_callback commit, uw_callback rollback, uw_callback free); | 217 void uw_register_transactional(uw_context, void *data, uw_callback commit, uw_callback rollback, uw_callback free); |