What's the deal with proto.h these days and linking a VFS module after exposing init_stat_ex_from_stat

Jeremy Allison jra at samba.org
Thu Jun 2 15:14:44 MDT 2011

On Thu, Jun 02, 2011 at 12:29:17PM -0700, Richard Sharpe wrote:
> Hi folks,
> I modified lib/system.c to change init_stat_ex_from_stat to be
> non-static, but that did not allow us to access it from within the
> VFS, however, I see that other VFS modules do access symbols from
> within Samba.
> Looking further I noticed that init_stat_ex_from_stat was not in
> proto.h and proto.h contains a comment about it being frozen in 2008.

That just means we stopped auto-generating it from the C files
in 2008, it's still being heavily modified :-).

> Is there another mechanism for exposing these symbols or do I have to
> modify proto.h and commit it to git?

Yeah, modify & commit.


More information about the samba-technical mailing list