• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

AUTHORSH A D12-May-2009228 117

Aget.cH A D12-May-20095.3 KiB209152

Aget.hH A D19-Nov-2002143 117

COPYINGH A D12-May-20091.8 KiB5141

ChangeLogH A D12-May-20091.9 KiB6647

Data.hH A D12-May-2009855 3529

Defs.hH A D12-May-2009686 3024

Download.cH A D03-May-20222.9 KiB13296

Download.hH A D19-Nov-200294 95

Head.cH A D03-May-20222.3 KiB11088

Head.hH A D19-Nov-200296 95

INSTALLH A D12-May-2009670 2615

MakefileH A D13-May-2009398 2516

Makefile.FreeBSDH A D13-May-2009398 2516

Makefile.SolarisH A D13-May-2009429 2113

Misc.cH A D12-May-20094.5 KiB211183

Misc.hH A D03-May-2022562 3114

READMEH A D12-May-2009488 1510

README-DeveloperH A D12-May-20091.5 KiB5740

Resume.cH A D20-Nov-20021.9 KiB9163

Resume.hH A D20-Nov-2002265 1913

Signal.cH A D22-Nov-20021 KiB6752

Signal.hH A D03-May-2022202 149

THANKSH A D13-May-2009266 157

TODOH A D12-May-2009404 1512

aget.1H A D14-May-20091.8 KiB10191

aget.1.SolarisH A D13-May-20092 KiB139122

main.cH A D03-May-20222.5 KiB12596

main.hH A D19-Nov-2002277 1811

README

1EnderUNIX Aget v0.4.1 README
2--------------------------
3
4This program is a starting point for a very useful project like FlashGet
5for Win32.  My aim is to provide all the functionality that program has.
6
7If you need assistance in installing Aget, you can see INSTALL file,
8Program is tested on RedHat Linux 8, FreeBSD 4.7 and
9Solaris 7,8 (Sparc). It proved to be successful.
10
11You can get much more info from the Aget Web site:
12http://www.enderunix.org/aget
13
14Tue May 12 08:43:52 EEST 2009
15

README-Developer

1Ok, Here's a developer's primer for aget source:
2
3The code is splitted into several files:
4
5main.{c|h}
6	* starts a thread for handling signals.
7	* gets program options and decides the
8	  program's behviour by setting a few
9 	  global variables.
10
11Aget.{c|h}
12	* get() and resume_get() functions
13	  starts the download process. Depending on the
14	  protocol, necessary methods are called.
15
16	  resume_get() is for resume jobs. If the there
17	  is a log file of a previous job, the values
18	  are taken from it.
19
20Head.{c|h}
21	* Before the actual download, a head request
22	  is sent to the server to determine the current
23	  status of the file.
24          Some values like:
25		1. HTTP return code (e.g. 404, 206, 403, 200)
26		2. Content-length
27
28	  might be of interest there.
29
30Download.{c|h}
31	* Aget is no more %100 Posix compliant :(
32	  pwrite is from X_OPEN standarts. I had to do it, since I needed
33	  a way to simultaneously write to the same file without loosing
34	  any time while synchronising the threads.
35
36	  For the time, there is only http_get. When aget is ftp-aware
37  	  ftp_get will be in this file.
38
39
40Resume.{c|h}
41	* Methods about saving and restoring history files are in this
42	  file.
43
44Signal.{c|h}
45	* Signal Handling functions.
46
47Misc.{c|h}
48	* Other functions which do not fit any of the general categories
49 	  are stored here. These are generally helper functions...
50
51
52For more information read the aget source, and you may contact
53murat at enderunix dot org.
54
55
56Tue May 12 08:44:04 EEST 2009
57