mirror of
https://github.com/aria2/aria2.git
synced 2025-01-04 09:03:46 +00:00
Update doc
This commit is contained in:
parent
f3876ad9ab
commit
eeab47cca2
@ -85,7 +85,8 @@ int main(int argc, char** argv)
|
||||
aria2::libraryInit();
|
||||
// session is actually singleton: 1 session per process
|
||||
aria2::Session* session;
|
||||
// Create default configuration
|
||||
// Create default configuration. The libaria2 takes care of signal
|
||||
// handling.
|
||||
aria2::SessionConfig config;
|
||||
// Add event callback
|
||||
config.downloadEventCallback = downloadEventCallback;
|
||||
|
Loading…
Reference in New Issue
Block a user