X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=ftpd.h;h=3d11bea8841e6554fdf66004c81ec5356fda1341;hb=HEAD;hp=7a165dce05e7c5cb3182af297d406e323264c47f;hpb=f70d2657597e5e466bf26dfec16724804a09a5cb;p=betaftpd diff --git a/ftpd.h b/ftpd.h index 7a165dc..3d11bea 100644 --- a/ftpd.h +++ b/ftpd.h @@ -76,6 +76,8 @@ #undef WANT_DCACHE #endif +extern char message_buf[]; + struct list_options { int recursive; int long_listing; @@ -128,6 +130,7 @@ struct conn { #endif time_t last_transfer; + int free_me; }; /* doubly linked list of file transfers */ @@ -206,6 +209,7 @@ void time_out_sockets(); void remove_bytes(struct conn * const c, const int i); void numeric(struct conn * const c, const int numeric, const char * const format, ...); +void flush_numeric(struct conn * const c); void init_file_transfer(struct ftran * const f); int create_server_socket();