* autotool fixes
* Renamed "download" files to "downloadprog" as it only holds the progress bar and to not confuse (myself) with <download.h>
This commit is contained in:
parent
4470e5ce01
commit
eb514bee96
3 changed files with 6 additions and 14 deletions
|
@ -343,7 +343,6 @@ dnl ==========================================================================
|
||||||
AC_OUTPUT([
|
AC_OUTPUT([
|
||||||
lib/libalpm/Makefile
|
lib/libalpm/Makefile
|
||||||
lib/libalpm/po/Makefile.in
|
lib/libalpm/po/Makefile.in
|
||||||
lib/libftp/Makefile
|
|
||||||
src/pacman/Makefile
|
src/pacman/Makefile
|
||||||
src/pacman/po/Makefile.in
|
src/pacman/po/Makefile.in
|
||||||
src/util/Makefile
|
src/util/Makefile
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* download.c
|
* downloadprog.c
|
||||||
*
|
*
|
||||||
* Copyright (c) 2002-2006 by Judd Vinet <jvinet@zeroflux.org>
|
* Copyright (c) 2002-2006 by Judd Vinet <jvinet@zeroflux.org>
|
||||||
*
|
*
|
||||||
|
@ -35,7 +35,7 @@
|
||||||
#include "util.h"
|
#include "util.h"
|
||||||
#include "log.h"
|
#include "log.h"
|
||||||
#include "list.h"
|
#include "list.h"
|
||||||
#include "download.h"
|
#include "downloadprog.h"
|
||||||
#include "conf.h"
|
#include "conf.h"
|
||||||
|
|
||||||
/* progress bar */
|
/* progress bar */
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* download.h
|
* downloadprog.h
|
||||||
*
|
*
|
||||||
* Copyright (c) 2002-2006 by Judd Vinet <jvinet@zeroflux.org>
|
* Copyright (c) 2002-2006 by Judd Vinet <jvinet@zeroflux.org>
|
||||||
*
|
*
|
||||||
|
@ -18,18 +18,11 @@
|
||||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
|
||||||
* USA.
|
* USA.
|
||||||
*/
|
*/
|
||||||
#ifndef _PM_DOWNLOAD_H
|
#ifndef _PM_DOWNLOADPROG_H
|
||||||
#define _PM_DOWNLOAD_H
|
#define _PM_DOWNLOADPROG_H
|
||||||
|
|
||||||
extern char sync_fnm[PM_DLFNM_LEN+1];
|
|
||||||
extern int offset;
|
|
||||||
extern struct timeval t0, t;
|
|
||||||
extern float rate;
|
|
||||||
extern int xfered1;
|
|
||||||
extern unsigned int eta_h, eta_m, eta_s;
|
|
||||||
|
|
||||||
void log_progress(const char *filename, int xfered, int total);
|
void log_progress(const char *filename, int xfered, int total);
|
||||||
|
|
||||||
#endif /* _PM_DOWNLOAD_H */
|
#endif /* _PM_DOWNLOADPROG_H */
|
||||||
|
|
||||||
/* vim: set ts=2 sw=2 noet: */
|
/* vim: set ts=2 sw=2 noet: */
|
Loading…
Add table
Reference in a new issue