1
0
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:
Jelmer Vernooij 2007-09-26 23:24:47 +00:00 committed by Gerald (Jerry) Carter
parent 7ac97bbbdb
commit 966f35a6c8
2 changed files with 12 additions and 9 deletions

View File

@ -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

View File

@ -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;