summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-10-14 15:57:26 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-10-14 15:57:26 +0200
commit3fe406ee72a787fab2b9b4a8a9f1aa050187437c (patch)
tree961c61eedc07a05d81019c1d3815a7a348f2637a /source3
parent4577fb5a3b35b8c7ffb1bf3e43f4aa8143c3746d (diff)
parentf4f59bf24803df975ed38d558c7b0931ca575c3d (diff)
downloadsamba-3fe406ee72a787fab2b9b4a8a9f1aa050187437c.tar.gz
samba-3fe406ee72a787fab2b9b4a8a9f1aa050187437c.tar.bz2
samba-3fe406ee72a787fab2b9b4a8a9f1aa050187437c.zip
Merge branch 'master' of git://git.samba.org/samba
Diffstat (limited to 'source3')
-rw-r--r--source3/include/module.h1
-rw-r--r--source3/smbd/pipes.c12
2 files changed, 1 insertions, 12 deletions
diff --git a/source3/include/module.h b/source3/include/module.h
index 20dbaba6b4..52245e01d2 100644
--- a/source3/include/module.h
+++ b/source3/include/module.h
@@ -23,6 +23,7 @@
/* Module support */
typedef NTSTATUS (init_module_function) (void);
+NTSTATUS init_samba_module(void);
typedef int smb_event_id_t;
#define SMB_EVENT_ID_INVALID (-1)
diff --git a/source3/smbd/pipes.c b/source3/smbd/pipes.c
index af363689c9..25a1fe2e63 100644
--- a/source3/smbd/pipes.c
+++ b/source3/smbd/pipes.c
@@ -32,18 +32,6 @@
#define MAX_PIPE_NAME_LEN 24
-/* PIPE/<name>/<pid>/<pnum> */
-#define PIPEDB_KEY_FORMAT "PIPE/%s/%u/%d"
-
-struct pipe_dbrec {
- struct server_id pid;
- int pnum;
- uid_t uid;
-
- char name[MAX_PIPE_NAME_LEN];
- fstring user;
-};
-
/****************************************************************************
Reply to an open and X on a named pipe.
This code is basically stolen from reply_open_and_X with some