]> git.sesse.net Git - betaftpd/blobdiff - ftpd.h
Added some system header files and changed the order (\!) of others -- this makes...
[betaftpd] / ftpd.h
diff --git a/ftpd.h b/ftpd.h
index 3110b10dd853f6fa2cb245a616246534ac2ca240..b54c43b107eac78debd99b411fb965774fc938ab 100644 (file)
--- a/ftpd.h
+++ b/ftpd.h
@@ -2,7 +2,7 @@
     Copyright (C) 1999-2000 Steinar H. Gunderson
 
     This program is is free software; you can redistribute it and/or modify
-    it under the terms of the GNU General Public License, version 2 if the
+    it under the terms of the GNU General Public License, version 2 of the
     License as published by the Free Software Foundation.
 
     This program is distributed in the hope that it will be useful,
@@ -117,6 +117,8 @@ struct conn {
        char username[17];
 
        uid_t uid;
+       gid_t gid;
+
        char root_dir[256];
        char curr_dir[256];
 
@@ -184,6 +186,8 @@ void del_fd(const int fd);
 void destroy_conn(struct conn * const c);
 void destroy_ftran(struct ftran * const f);
 
+void finish_transfer(struct ftran * const f);
+
 #if HAVE_POLL
 int process_all_clients(const int num_ac);
 int process_all_sendfiles(const int num_ac);