diff options
author | Alan Fitton <ajf@eth0.org.uk> | 2011-11-30 18:54:29 +0000 |
---|---|---|
committer | Alan Fitton <ajf@eth0.org.uk> | 2011-11-30 18:54:29 +0000 |
commit | 7bc8fe632f29a875659f223ad1e9aa035c56f46c (patch) | |
tree | 8a13af1000337feade93762295b213283b03d089 /src/main.c | |
parent | 6df6b7c2a2383d01a6fc20e597f48b0168ccfeb5 (diff) |
add some comments at the top of some files, also add a timeout of 20 seconds for curl requests
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -40,6 +40,15 @@ #include "trg-client.h" #include "util.h" +/* The file with the main() function. It converts arguments into a NULL terminated + * array, with relative paths converted to absolute paths. + * + * Much of the code here is to optionally handle passing torrent files/URLs to + * a first instance. UNIX can use libunique (should alternatively use + * GApplication for GNOME3). Windows uses the mailslot feature in the + * native Win32 API, so there is no dependency on dbus etc. + */ + #define TRG_LIBUNIQUE_DOMAIN "uk.org.eth0.trg" #define TRG_MAILSLOT_NAME "\\\\.\\mailslot\\TransmissionRemoteGTK" //Name given to the Mailslot #define MAILSLOT_BUFFER_SIZE 1024*32 |