Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
TLMSP curl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CYBER - Cyber Security
TS 103 523 MSP
TLMSP
TLMSP curl
Commits
89f05410
Commit
89f05410
authored
24 years ago
by
Daniel Stenberg
Browse files
Options
Downloads
Patches
Plain Diff
added a missing prototype, removed unused code
parent
0d127925
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/progress.h
+10
-17
10 additions, 17 deletions
lib/progress.h
with
10 additions
and
17 deletions
lib/progress.h
+
10
−
17
View file @
89f05410
...
...
@@ -42,14 +42,16 @@
#include
"timeval.h"
#if 0
void ProgressInit(struct UrlData *data, int max);
void ProgressShow(struct UrlData *data,
int point, struct timeval start, struct timeval now, bool force);
void ProgressEnd(struct UrlData *data);
void ProgressMode(int mode);
#endif
typedef
enum
{
TIMER_NONE
,
TIMER_NAMELOOKUP
,
TIMER_CONNECT
,
TIMER_PRETRANSFER
,
TIMER_POSTRANSFER
,
TIMER_LAST
/* must be last */
}
timerid
;
void
pgrsMode
(
struct
UrlData
*
data
,
int
mode
);
void
pgrsStartNow
(
struct
UrlData
*
data
);
void
pgrsSetDownloadSize
(
struct
UrlData
*
data
,
double
size
);
...
...
@@ -57,6 +59,7 @@ void pgrsSetUploadSize(struct UrlData *data, double size);
void
pgrsSetDownloadCounter
(
struct
UrlData
*
data
,
double
size
);
void
pgrsSetUploadCounter
(
struct
UrlData
*
data
,
double
size
);
void
pgrsUpdate
(
struct
UrlData
*
data
);
void
pgrsTime
(
struct
UrlData
*
data
,
timerid
timer
);
/* Don't show progress for sizes smaller than: */
...
...
@@ -77,14 +80,4 @@ void pgrsUpdate(struct UrlData *data);
#define PGRS_HEADERS_OUT (1<<7)
/* set when the headers have been written */
typedef
enum
{
TIMER_NONE
,
TIMER_NAMELOOKUP
,
TIMER_CONNECT
,
TIMER_PRETRANSFER
,
TIMER_POSTRANSFER
,
TIMER_LAST
/* must be last */
}
timerid
;
#endif
/* __PROGRESS_H */
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment