Mercurial > gftp.yaz
diff lib/fsplib/fsplib.h @ 962:26fb4e66736c
2008-11-29 Brian Masney <masneyb@gftp.org>
* lib/fsplib/* - updated to use fsplib 0.9
author | masneyb |
---|---|
date | Sat, 29 Nov 2008 12:49:37 +0000 |
parents | ba82724da370 |
children |
line wrap: on
line diff
--- a/lib/fsplib/fsplib.h Fri Oct 17 13:16:18 2008 +0000 +++ b/lib/fsplib/fsplib.h Sat Nov 29 12:49:37 2008 +0000 @@ -3,13 +3,15 @@ #include <time.h> #include <dirent.h> #include <sys/stat.h> +#include <stddef.h> + /* The FSP v2 protocol support library - public interface */ /* This file is part of fsplib - FSP protocol stack implemented in C language. See http://fsp.sourceforge.net for more information. -Copyright (c) 2003-2005 by Radim HSN Kolar (hsn@netmag.cz) +Copyright (c) 2003-2005 by Radim HSN Kolar (hsn@sendmail.cz) You may copy or modify this file in any manner you wish, provided that this notice is always included, and that you hold the author @@ -140,6 +142,12 @@ unsigned int pos; /* position of next packet */ } FSP_FILE; + +typedef union dirent_workaround { + struct dirent dirent; + char fill[offsetof (struct dirent, d_name) + MAXNAMLEN + 1]; +} dirent_workaround; + /* function prototypes */ /* session management */