mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
r25363: Move service code to separate module.
(This used to be commit 77570e2fb5
)
This commit is contained in:
parent
7ac97bbbdb
commit
966f35a6c8
@ -54,11 +54,8 @@ PRIVATE_DEPENDENCIES = \
|
||||
|
||||
#######################
|
||||
# Start SUBSYSTEM NBTD
|
||||
[MODULE::NBTD]
|
||||
INIT_FUNCTION = server_service_nbtd_init
|
||||
SUBSYSTEM = service
|
||||
[SUBSYSTEM::NBT_SERVER]
|
||||
OBJ_FILES = \
|
||||
nbt_server.o \
|
||||
interfaces.o \
|
||||
register.o \
|
||||
query.o \
|
||||
@ -68,6 +65,13 @@ OBJ_FILES = \
|
||||
irpc.o
|
||||
PRIVATE_PROTO_HEADER = nbt_server_proto.h
|
||||
PRIVATE_DEPENDENCIES = \
|
||||
LIBCLI_NBT NBTD_WINS NBTD_DGRAM process_model
|
||||
LIBCLI_NBT NBTD_WINS NBTD_DGRAM
|
||||
# End SUBSYSTEM NBTD
|
||||
#######################
|
||||
|
||||
[MODULE::service_nbtd]
|
||||
INIT_FUNCTION = server_service_nbtd_init
|
||||
SUBSYSTEM = service
|
||||
OBJ_FILES = \
|
||||
nbt_server.o
|
||||
PRIVATE_DEPENDENCIES = NBT_SERVER process_model
|
||||
|
@ -31,7 +31,6 @@
|
||||
#include "dsdb/samdb/samdb.h"
|
||||
#include "param/param.h"
|
||||
|
||||
|
||||
static void nbtd_start_refresh_timer(struct nbtd_iface_name *iname);
|
||||
|
||||
/*
|
||||
@ -227,9 +226,9 @@ static void nbtd_register_name_iface(struct nbtd_interface *iface,
|
||||
/*
|
||||
register one name on all our interfaces
|
||||
*/
|
||||
static void nbtd_register_name(struct nbtd_server *nbtsrv,
|
||||
const char *name, enum nbt_name_type type,
|
||||
uint16_t nb_flags)
|
||||
void nbtd_register_name(struct nbtd_server *nbtsrv,
|
||||
const char *name, enum nbt_name_type type,
|
||||
uint16_t nb_flags)
|
||||
{
|
||||
struct nbtd_interface *iface;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user