X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=send.h;h=df0cd1cb0612c1f3e52078e1d3478423566c8152;hb=4ebaf62d6bbd0498d93e19bc4f0a3c9564b1a8f5;hp=e606738bf8e2b7549ccfa10007aab1c006cff8c7;hpb=013337ae0d58f56f036685f3ffa1aebad0b2602f;p=paraslash.git diff --git a/send.h b/send.h index e606738b..df0cd1cb 100644 --- a/send.h +++ b/send.h @@ -160,10 +160,6 @@ struct sender_status { void shutdown_client(struct sender_client *sc, struct sender_status *ss); void shutdown_clients(struct sender_status *ss); -void send_chunk(struct sender_client *sc, struct sender_status *ss, - size_t max_bytes_per_write, long unsigned current_chunk, - const char *buf, size_t len, const char *header_buf, - size_t header_len); void init_sender_status(struct sender_status *ss, char **access_arg, int num_access_args, int port, int max_clients, int default_deny); char *get_sender_info(struct sender_status *ss, const char *name); @@ -176,6 +172,5 @@ int generic_com_on(struct sender_status *ss, unsigned protocol); void generic_com_off(struct sender_status *ss); char *generic_sender_help(void); struct sender_client *accept_sender_client(struct sender_status *ss, fd_set *rfds); -int send_queued_chunks(int fd, struct chunk_queue *cq, - size_t max_bytes_per_write); +int send_queued_chunks(int fd, struct chunk_queue *cq); int parse_fec_url(const char *arg, struct sender_command_data *scd);