comparison include/urweb.h @ 764:7f653298dd66

C FFI compiler options
author Adam Chlipala <adamc@hcoop.net>
date Thu, 30 Apr 2009 17:15:14 -0400
parents 67cd8326f743
children c125df6fabfc
comparison
equal deleted inserted replaced
763:af41ec2f302a 764:7f653298dd66
1 #ifndef URWEB_H
2 #define URWEB_H
3
1 #include <sys/types.h> 4 #include <sys/types.h>
2 5
3 #include "types.h" 6 #include "types.h"
4 7
5 int uw_really_send(int sock, void *buf, ssize_t len); 8 int uw_really_send(int sock, void *buf, ssize_t len);
174 uw_Basis_string uw_Basis_fileMimeType(uw_context, uw_Basis_file); 177 uw_Basis_string uw_Basis_fileMimeType(uw_context, uw_Basis_file);
175 uw_Basis_blob uw_Basis_fileData(uw_context, uw_Basis_file); 178 uw_Basis_blob uw_Basis_fileData(uw_context, uw_Basis_file);
176 uw_Basis_int uw_Basis_blobSize(uw_context, uw_Basis_blob); 179 uw_Basis_int uw_Basis_blobSize(uw_context, uw_Basis_blob);
177 180
178 __attribute__((noreturn)) void uw_return_blob(uw_context, uw_Basis_blob, uw_Basis_string mimeType); 181 __attribute__((noreturn)) void uw_return_blob(uw_context, uw_Basis_blob, uw_Basis_string mimeType);
182
183 #endif