how to find the definitions of some functions?

Andrew Bartlett abartlet at samba.org
Tue May 2 14:45:42 UTC 2017


On Tue, 2017-05-02 at 11:51 +0000, Fengwei via samba-technical wrote:
> Hi all:
>          Thank you for attention to my question.
>          I want to know that how samba parses the parameters of the
> smb.conf, like “read list”, “write list” and so on. In the source
> code of samba4.3.11,I can find the declarations of some functions,
> like  char **lp_read_list(int), char**lp_write_list and so on.But I
> can’t the definitions of these functions.so, how can I find them in
> the source code?
>          Best regards!

These are auto-generated these days.  The will be in
bin/default/lib/param/param_functions.c which is a pile of macros
defined in source3/param/loadparm.c

Andrew Bartlett

-- 
Andrew Bartlett                       http://samba.org/~abartlet/
Authentication Developer, Samba Team  http://samba.org
Samba Developer, Catalyst IT          http://catalyst.net.nz/services/samba




More information about the samba-technical mailing list