Subject: Re: Header independence

Re: Header independence

From: Alexander Lamaison <swish_at_lammy.co.uk>
Date: Thu, 2 Jul 2009 16:14:56 +0100

2009/3/22 Daniel Stenberg <daniel_at_haxx.se>:
> On Sun, 22 Mar 2009, Alexander Lamaison wrote:
>
>> Can anyone think of any reason not to add #include <libssh2.h> to
>> libssh2_sftp.h?
>
> Nope, me neither and I agree with you that headers should take care of their

I meant to submit a patch for this a while ago. Here it is; a tiny
change. Now each header is self-contained and you only have to include
the 'most derived' one which is good header hygiene.

Alex

_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

Received on 2009-07-02