Added .INCOMPLETE hack to aid with marking finished transfers.

This commit is contained in:
Matthew Bloch
2012-05-29 11:24:24 +01:00
parent ab0dfb5eca
commit 21ccd17ea5
4 changed files with 15 additions and 4 deletions

View File

@@ -38,11 +38,13 @@ struct mode_serve_params {
int acl_entries;
/** pointer to access control list entries*/
struct ip_and_mask (*acl)[0];
/** file name to serve */
/** (static) file name to serve */
char* filename;
/** file name of INCOMPLETE flag */
char* filename_incomplete;
/** TCP backlog for listen() */
int tcp_backlog;
/** file name of UNIX control socket (or NULL if none) */
/** (static) file name of UNIX control socket (or NULL if none) */
char* control_socket_name;
/** size of file */
off64_t size;