diff lib/gftp.h @ 87:6df043359b41

2003-1-11 Brian Masney <masneyb@gftp.org> * autogen.sh - removed --intl and --no-changelog flags to gettextize * aclocal.m4 - updated * configure.in - and intl and po directories to AC_OUTPUT * cvsclean - remove more stuff * lib/bookmark.c (bookmark_parse_url) - use gftp_parse_bookmark function * lib/cache.c - remove gftp_cache_get_url_prefix(). Use request->url_prefix instead * lib/config_file.c - use proper exit codes. Also complain if the default protocol specified in the config file is invalid * lib/gftp.h lib/local.c lib/protocols.c - removed isblock, ischar, issocket and isfifo in struct gftp_file (not used anymore) * lib/gftp.h lib/misc.c - removed file_countlf (not used anymore) * lib/local.c lib/misc.c lib/protocols.c - various small cleanups * lib/misc.c (string_hash_function) - check key[i] instead of key[0] * lib/protocols.c lib/gftp.h - added gftp_parse_bookmark() * lib/rfc2068.c - if we are connected to a FTP url via a proxy, set request->url_prefix to be ftp. Added rfc2068_destroy() to free url_prefix whenever the structure is to be freed
author masneyb
date Sat, 11 Jan 2003 15:47:09 +0000
parents 759c7d019a89
children 8c37d73d3f1f
line wrap: on
line diff
--- a/lib/gftp.h	Mon Dec 30 01:32:19 2002 +0000
+++ b/lib/gftp.h	Sat Jan 11 15:47:09 2003 +0000
@@ -157,10 +157,6 @@
   unsigned int isdir : 1,	/* File type */
                isexe : 1,
                islink : 1,
-               isblock : 1,
-               ischar : 1,
-               issocket : 1,
-               isfifo : 1,
                ascii : 1, 	/* Transfer in ASCII mode */
                selected : 1,	/* Is this file selected? */
                was_sel : 1,	/* Was this file selected before  */
@@ -171,7 +167,7 @@
                transfer_done : 1, /* Is current file transfer done? */
                is_fd : 1;	/* Is this a file descriptor? */
   char transfer_action;		/* See the GFTP_TRANS_ACTION_* vars above */
-  void *node;			/* Pointer to the node for the gui */
+  void *node;			/* FIXME Pointer to the node for the gui */
   int fd;
 };
 
@@ -534,9 +530,6 @@
 					  char *dest_str, 
 					  size_t dest_len );
 
-long file_countlf 			( int filefd, 
-					  long endpos );
-
 char *alltrim 				( char *str );
 
 char *expand_path 			( const char *src );
@@ -695,6 +688,9 @@
 
 int gftp_list_files 			( gftp_request * request );
 
+int gftp_parse_bookmark 		( gftp_request * request, 
+					  const char * bookmark );
+
 int gftp_parse_url 			( gftp_request * request, 
 					  const char *url );