summaryrefslogtreecommitdiff
path: root/source4/winbind/wb_samba3_protocol.h
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2006-01-12 09:38:35 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:50:55 -0500
commitf18194edae4289a75955ef3b0fb9943a7a63f9d4 (patch)
treedbdeefda275da1b63a1d44dd24953a27ade52d7d /source4/winbind/wb_samba3_protocol.h
parenta5a79e8b8cbdf24d5c2db45ece4110ed5d85e58f (diff)
downloadsamba-f18194edae4289a75955ef3b0fb9943a7a63f9d4.tar.gz
samba-f18194edae4289a75955ef3b0fb9943a7a63f9d4.tar.bz2
samba-f18194edae4289a75955ef3b0fb9943a7a63f9d4.zip
r12866: This removes the abstraction layer in winbindd intended to deal with
multiple protocols, replacing it with the packet handling subsystem. We don't have multiple protocols at present, and the abstraction layer only serves to confuse matters. Also, the new packet subsystem removes the need to handle partial reads. We can easily add new protocols from the socket up instead, becaue the difficult bits are done by the packet layer. Andrew Bartlett (This used to be commit acf9dc8fe9e66f1dd3f18c0245375f502f03a24c)
Diffstat (limited to 'source4/winbind/wb_samba3_protocol.h')
-rw-r--r--source4/winbind/wb_samba3_protocol.h39
1 files changed, 0 insertions, 39 deletions
diff --git a/source4/winbind/wb_samba3_protocol.h b/source4/winbind/wb_samba3_protocol.h
deleted file mode 100644
index 9a13210187..0000000000
--- a/source4/winbind/wb_samba3_protocol.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- Unix SMB/CIFS implementation.
- Main winbindd samba3 server routines
-
- Copyright (C) Stefan Metzmacher 2005
- Copyright (C) Volker Lendecke 2005
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-*/
-
-struct wbsrv_samba3_call {
- /* pointer back to the generic winbind call */
- struct wbsrv_call *call;
-
- /* here the backend can store stuff like composite_context's ... */
- void *private_data;
-
- /* the request structure of the samba3 protocol */
- struct winbindd_request request;
-
- /* the response structure of the samba3 protocol*/
- struct winbindd_response response;
-};
-
-#define WBSRV_SAMBA3_SET_STRING(dest, src) do { \
- strncpy(dest, src, sizeof(dest)-1);\
-} while(0)