mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
r25221: Experiment with Jelmer's new generic loadparm code.
(This used to be commit 9fbbd1b5c9c19a0f5d49bafc6d25967e133e38b4)
This commit is contained in:
parent
b9989b4640
commit
3eb2b3085d
@ -31,11 +31,16 @@
|
||||
#include "lib/talloc/talloc.h"
|
||||
#include "lib/events/events.h"
|
||||
#include "libcli/nbt/libnbt.h"
|
||||
#include "param/param.h"
|
||||
|
||||
/* Undo strcpy safety macro as it's used by swig )-: */
|
||||
|
||||
#undef strcpy
|
||||
|
||||
/* Loadparm parameters */
|
||||
|
||||
static struct loadparm_context lp_ctx;
|
||||
|
||||
%}
|
||||
|
||||
%apply bool { BOOL };
|
||||
@ -132,4 +137,6 @@ struct nbt_name_query {
|
||||
NTSTATUS nbt_name_query(struct nbt_name_socket *nbtsock,
|
||||
TALLOC_CTX *mem_ctx, struct nbt_name_query *io);
|
||||
|
||||
void lp_load(void);
|
||||
%init %{
|
||||
loadparm_init(&lp_ctx);
|
||||
%}
|
||||
|
Loading…
x
Reference in New Issue
Block a user