From 2bde98c0ee67b4c60c5906b3b2f297cf4922c67c Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 10 Dec 2003 22:24:33 +0000 Subject: the rest of the initial rpc server side infrastructure (This used to be commit 5fb01b0ec0321724c25669151ea7c20e6ec182d0) --- source4/include/context.h | 2 ++ source4/include/includes.h | 51 ---------------------------------------------- source4/include/smb.h | 1 + 3 files changed, 3 insertions(+), 51 deletions(-) (limited to 'source4/include') 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" -- cgit