summaryrefslogtreecommitdiff
path: root/source4/include
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-12-10 22:24:33 +0000
committerAndrew Tridgell <tridge@samba.org>2003-12-10 22:24:33 +0000
commit2bde98c0ee67b4c60c5906b3b2f297cf4922c67c (patch)
tree8f8a5d8123e3c3b4df4bd4d2bc849228cce7e343 /source4/include
parent188b2054a80ec16e7fb9ed7b6b1e8fce9b52458f (diff)
downloadsamba-2bde98c0ee67b4c60c5906b3b2f297cf4922c67c.tar.gz
samba-2bde98c0ee67b4c60c5906b3b2f297cf4922c67c.tar.bz2
samba-2bde98c0ee67b4c60c5906b3b2f297cf4922c67c.zip
the rest of the initial rpc server side infrastructure
(This used to be commit 5fb01b0ec0321724c25669151ea7c20e6ec182d0)
Diffstat (limited to 'source4/include')
-rw-r--r--source4/include/context.h2
-rw-r--r--source4/include/includes.h51
-rw-r--r--source4/include/smb.h1
3 files changed, 3 insertions, 51 deletions
diff --git a/source4/include/context.h b/source4/include/context.h
index dfb6ed1b8c..959793ab5e 100644
--- a/source4/include/context.h
+++ b/source4/include/context.h
@@ -331,6 +331,8 @@ struct server_context {
struct timers_context timers;
+ struct dcesrv_context dcesrv;
+
/* the pid of the process handling this session */
pid_t pid;
diff --git a/source4/include/includes.h b/source4/include/includes.h
index fe6fcf5bce..9683d032cc 100644
--- a/source4/include/includes.h
+++ b/source4/include/includes.h
@@ -773,28 +773,6 @@ extern int errno;
#include "librpc/ndr/libndr.h"
#include "librpc/rpc/dcerpc.h"
-/*
- * Type for wide character dirent structure.
- * Only d_name is defined by POSIX.
- */
-
-typedef struct smb_wdirent {
- wpstring d_name;
-} SMB_STRUCT_WDIRENT;
-
-/*
- * Type for wide character passwd structure.
- */
-
-typedef struct smb_wpasswd {
- wfstring pw_name;
- char *pw_passwd;
- uid_t pw_uid;
- gid_t pw_gid;
- wpstring pw_gecos;
- wpstring pw_dir;
- wpstring pw_shell;
-} SMB_STRUCT_WPASSWD;
/* used in net.c */
struct functable {
@@ -803,20 +781,8 @@ struct functable {
};
-/* Defines for wisXXX functions. */
-#define UNI_UPPER 0x1
-#define UNI_LOWER 0x2
-#define UNI_DIGIT 0x4
-#define UNI_XDIGIT 0x8
-#define UNI_SPACE 0x10
-
#include "nsswitch/nss.h"
-/* forward declaration from printing.h to get around
- header file dependencies */
-
-struct printjob;
-
/***** automatically generated prototypes *****/
#include "proto.h"
@@ -832,23 +798,6 @@ struct printjob;
#define QSORT_CAST (int (*)(const void *, const void *))
#endif
-#ifndef DEFAULT_PRINTING
-#ifdef HAVE_CUPS
-#define DEFAULT_PRINTING PRINT_CUPS
-#define PRINTCAP_NAME "cups"
-#elif defined(SYSV)
-#define DEFAULT_PRINTING PRINT_SYSV
-#define PRINTCAP_NAME "lpstat"
-#else
-#define DEFAULT_PRINTING PRINT_BSD
-#define PRINTCAP_NAME "/etc/printcap"
-#endif
-#endif
-
-#ifndef PRINTCAP_NAME
-#define PRINTCAP_NAME "/etc/printcap"
-#endif
-
#ifndef SIGCLD
#define SIGCLD SIGCHLD
#endif
diff --git a/source4/include/smb.h b/source4/include/smb.h
index a58556a306..a0a190190b 100644
--- a/source4/include/smb.h
+++ b/source4/include/smb.h
@@ -421,6 +421,7 @@ struct vuid_cache {
#include "smb_acls.h"
#include "enums.h"
#include "events.h"
+#include "rpc_server/dcerpc_server.h"
#include "context.h"
#include "smb_interfaces.h"
#include "ntvfs.h"