1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-23 09:57:40 +03:00

r7734: A few missing pieces...

rafal
(This used to be commit 15e2a67fe08daa722c55cd3afd46e838eb653e22)
This commit is contained in:
Rafal Szczesniak 2005-06-18 22:29:41 +00:00 committed by Gerald (Jerry) Carter
parent 52f072865d
commit f7e3089c37
3 changed files with 7 additions and 5 deletions

View File

@ -11,10 +11,10 @@ ADD_OBJ_FILES = \
libnet/libnet_vampire.o \
libnet/libnet_user.o \
libnet/libnet_share.o \
libnet/libnet_lookup.o \
libnet/userinfo.o \
libnet/userman.o \
libnet/domain.o \
libnet/lookup.o
libnet/domain.o
REQUIRED_SUBSYSTEMS = RPC_NDR_SAMR RPC_NDR_SRVSVC LIBCLI_COMPOSITE LIBCLI_RESOLVE LIBSAMBA3
# End SUBSYSTEM LIBNET

View File

@ -43,3 +43,4 @@ struct libnet_context {
#include "libnet/libnet_vampire.h"
#include "libnet/libnet_user.h"
#include "libnet/libnet_share.h"
#include "libnet/libnet_lookup.h"

View File

@ -25,6 +25,7 @@
#include "includes.h"
#include "libcli/raw/libcliraw.h"
#include "lib/events/events.h"
#include "libnet/libnet.h"
#include "libcli/composite/composite.h"
#include "libcli/composite/monitor.h"
#include "libnet/composite.h"
@ -38,7 +39,7 @@ struct lookup_state {
};
struct composite_context *libnet_Lookup_send(struct libnet_lookup *io)
struct composite_context *libnet_Lookup_send(struct libnet_Lookup *io)
{
struct composite_context *c;
struct lookup_state *s;
@ -76,7 +77,7 @@ failed:
NTSTATUS libnet_Lookup_recv(struct composite_context *c, TALLOC_CTX *mem_ctx,
struct libnet_lookup *io)
struct libnet_Lookup *io)
{
NTSTATUS status;
struct lookup_state *s;
@ -88,7 +89,7 @@ NTSTATUS libnet_Lookup_recv(struct composite_context *c, TALLOC_CTX *mem_ctx,
}
NTSTATUS libnet_Lookup(TALLOC_CTX *mem_ctx, struct libnet_lookup *io)
NTSTATUS libnet_Lookup(TALLOC_CTX *mem_ctx, struct libnet_Lookup *io)
{
struct composite_context *c = libnet_Lookup_send(io);
return libnet_Lookup_recv(c, mem_ctx, io);