]> git.proxmox.com Git - libgit2.git/commit
net: use only structs to pass information about cert
authorCarlos Martín Nieto <cmn@dwim.me>
Mon, 15 Sep 2014 23:47:30 +0000 (01:47 +0200)
committerCarlos Martín Nieto <cmn@dwim.me>
Tue, 16 Sep 2014 15:02:32 +0000 (17:02 +0200)
commit0782fc43f809b1c2a5001453ccb064a4afcfc2b9
tree8eb9d299dbafc3e44f5e2251cc464b622319cbba
parent0fef38999abc74b8237971f96295f461631d9d1d
net: use only structs to pass information about cert

Instead of spreading the data in function arguments, some of which
aren't used for ssh and having a struct only for ssh, use a struct for
both, using a common parent to pass to the callback.
include/git2/transport.h
include/git2/types.h
src/transports/http.c
src/transports/ssh.c
src/transports/winhttp.c
tests/online/clone.c