X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=send.h;h=9eda2a17d76c6b97b4d4b46946fbb4832247b1d3;hb=181beb316afad036ac01a778544c5dec0a8d51c7;hp=8f7005cdaa78f0909808932e602fc7de7945dd52;hpb=0d1918752a18755bf701b82cf57fad79d9b18bc9;p=paraslash.git diff --git a/send.h b/send.h index 8f7005cd..9eda2a17 100644 --- a/send.h +++ b/send.h @@ -212,6 +212,7 @@ void init_sender_status(struct sender_status *ss, const struct lls_opt_result *acl_opt_result, const struct lls_opt_result *listen_address_opt_result, int default_port, int max_clients, int default_deny); +void free_sender_status(const struct sender_status *ss); char *generic_sender_status(struct sender_status *ss, const char *name); void generic_com_allow(struct sender_command_data *scd, struct sender_status *ss); @@ -221,6 +222,6 @@ void generic_com_on(struct sender_status *ss, unsigned protocol); void generic_acl_deplete(struct list_head *acl); 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); +struct sender_client *accept_sender_client(struct sender_status *ss); int send_queued_chunks(int fd, struct chunk_queue *cq); int parse_fec_url(const char *arg, struct sender_command_data *scd);