"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/extern.h" between
tnftp-20151004.tar.gz and tnftp-20200705.tar.gz

About: tnftp is an enhanced ftp client (prior name "lukemftp").

extern.h  (tnftp-20151004):extern.h  (tnftp-20200705)
/* $NetBSD: extern.h,v 1.13 2013/05/05 11:17:30 lukem Exp $ */ /* $NetBSD: extern.h,v 1.14 2020/07/04 09:59:07 lukem Exp $ */
/* from NetBSD: extern.h,v 1.80 2012/07/04 06:09:37 is Exp */ /* from NetBSD: extern.h,v 1.82 2019/06/22 23:40:53 christos Exp *
/
/*- /*-
* Copyright (c) 1996-2009 The NetBSD Foundation, Inc. * Copyright (c) 1996-2009 The NetBSD Foundation, Inc.
* All rights reserved. * All rights reserved.
* *
* This code is derived from software contributed to The NetBSD Foundation * This code is derived from software contributed to The NetBSD Foundation
* by Luke Mewburn. * by Luke Mewburn.
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions * modification, are permitted provided that the following conditions
skipping to change at line 177 skipping to change at line 177
const char *parse_rfc2616time(struct tm *, const char *); const char *parse_rfc2616time(struct tm *, const char *);
int parserate(int, char **, int); int parserate(int, char **, int);
char *prompt(void); char *prompt(void);
__dead void proxabort(int); __dead void proxabort(int);
void proxtrans(const char *, const char *, const char *); void proxtrans(const char *, const char *, const char *);
void psabort(int); void psabort(int);
void pswitch(int); void pswitch(int);
void put(int, char **); void put(int, char **);
void pwd(int, char **); void pwd(int, char **);
void quit(int, char **); void quit(int, char **);
void justquit(void) __dead;
void quote(int, char **); void quote(int, char **);
void quote1(const char *, int, char **); void quote1(const char *, int, char **);
void recvrequest(const char *, const char *, const char *, void recvrequest(const char *, const char *, const char *,
const char *, int, int); const char *, int, int);
void reget(int, char **); void reget(int, char **);
char *remglob(char **, int, const char **); char *remglob(char **, int, const char **);
time_t remotemodtime(const char *, int); time_t remotemodtime(const char *, int);
off_t remotesize(const char *, int); off_t remotesize(const char *, int);
void removedir(int, char **); void removedir(int, char **);
void renamefile(int, char **); void renamefile(int, char **);
skipping to change at line 246 skipping to change at line 247
int strsuftoi(const char *); int strsuftoi(const char *);
void syst(int, char **); void syst(int, char **);
int togglevar(int, char **, int *, const char *); int togglevar(int, char **, int *, const char *);
void unsetoption(int, char **); void unsetoption(int, char **);
void updatelocalcwd(void); void updatelocalcwd(void);
void updateremotecwd(void); void updateremotecwd(void);
void user(int, char **); void user(int, char **);
int ftp_connect(int, const struct sockaddr *, socklen_t, int); int ftp_connect(int, const struct sockaddr *, socklen_t, int);
int ftp_listen(int, int); int ftp_listen(int, int);
int ftp_poll(struct pollfd *, int, int); int ftp_poll(struct pollfd *, int, int);
#ifndef SMALL
void *ftp_malloc(size_t); void *ftp_malloc(size_t);
StringList *ftp_sl_init(void); StringList *ftp_sl_init(void);
void ftp_sl_add(StringList *, char *); void ftp_sl_add(StringList *, char *);
char *ftp_strdup(const char *); char *ftp_strdup(const char *);
#else
#define ftp_malloc(a) malloc(a);
#define ftp_sl_init() sl_init()
#define ftp_sl_add(a, b) sl_add((a), (b))
#define ftp_strdup(a) strdup(a)
#endif
 End of changes. 4 change blocks. 
2 lines changed or deleted 5 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)