summaryrefslogtreecommitdiff
path: root/source4/smb_server/smb_server.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-07-10 18:15:24 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:10:01 -0500
commit54fba07f0183d2e45eaf8658f2900445a312524d (patch)
tree7e97bb4284f94cd6745dac1f4d03cde5f1d3215c /source4/smb_server/smb_server.h
parentec2b3baf09ebff97bc958e73591e128f14c7a378 (diff)
downloadsamba-54fba07f0183d2e45eaf8658f2900445a312524d.tar.gz
samba-54fba07f0183d2e45eaf8658f2900445a312524d.tar.bz2
samba-54fba07f0183d2e45eaf8658f2900445a312524d.zip
r16923: remove unused substitude code
metze (This used to be commit ea88c8c99eff2203d13f9877e590d9d7f2fbb910)
Diffstat (limited to 'source4/smb_server/smb_server.h')
-rw-r--r--source4/smb_server/smb_server.h29
1 files changed, 0 insertions, 29 deletions
diff --git a/source4/smb_server/smb_server.h b/source4/smb_server/smb_server.h
index d38543bb67..7ad1af2d27 100644
--- a/source4/smb_server/smb_server.h
+++ b/source4/smb_server/smb_server.h
@@ -257,31 +257,6 @@ struct smbsrv_request {
struct request_buffer out;
};
-/* this contains variables that should be used in % substitutions for
- * smb.conf parameters */
-struct substitute_context {
- char *remote_arch;
-
- /* our local netbios name, as give to us by the client */
- char *local_machine;
-
- /* the remote netbios name, as give to us by the client */
- char *remote_machine;
-
- /* the select remote protocol */
- char *remote_proto;
-
- /* the name of the client as should be displayed in
- * smbstatus. Can be an IP or a netbios name */
- char *client_name;
-
- /* the username for %U */
- char *user_name;
-};
-
-/* Remote architectures we know about. */
-enum remote_arch_types {RA_UNKNOWN, RA_WFWG, RA_OS2, RA_WIN95, RA_WINNT, RA_WIN2K, RA_WINXP, RA_SAMBA};
-
enum security_types {SEC_SHARE,SEC_USER};
/* smb server context structure. This should contain all the state
@@ -313,10 +288,6 @@ struct smbsrv_connection {
*/
unsigned max_recv; /* init to BUFFER_SIZE */
- /* a guess at the remote architecture. Try not to rely on this - in almost
- all cases using these values is the wrong thing to do */
- enum remote_arch_types ra_type;
-
/* the negotiatiated protocol */
enum protocol_types protocol;