Adding arguments to the options

2013-06-03 Thread Ajay Tanpure
Hello, I am developing an application which uses the Rsync. I have added an option for HTTPS in rsync code like '-v' for "--verbose". But now I want to make that option to take the arguments. For that in options.c file, I have added the entry in the array of structure as, > static struct pop

File descriptors in pipe.c

2013-01-30 Thread Ajay Tanpure
I am working on rsync tool. As rsync sends data over SSH in non-daemon mode, it forks the SSH process in pipe.c function. For the communication between the parent rsync and child SSH, it uses the socket pairs. As socket pairs are bidirectional, only one pair can be used for communication between