s3-eventlog: w00t! remove last traces of old eventlog rpc marshalling.
authorGünther Deschner <gd@samba.org>
Wed, 4 Feb 2009 20:50:51 +0000 (21:50 +0100)
committerGünther Deschner <gd@samba.org>
Wed, 4 Feb 2009 21:51:47 +0000 (22:51 +0100)
spoolss, I'm coming!

Guenther

source3/Makefile.in
source3/include/includes.h
source3/include/proto.h
source3/include/rpc_eventlog.h [deleted file]
source3/rpc_parse/parse_eventlog.c [deleted file]

index 19df505cc20d84690f8a3f291db818f57083c0bf..c1b51db571e4ababf5cb24d5aff1d5531409dae1 100644 (file)
@@ -578,7 +578,7 @@ RPC_SERVER_OBJ = @RPC_STATIC@ $(RPC_PIPE_OBJ)
 
 RPC_PARSE_OBJ = $(RPC_PARSE_OBJ2) \
                 rpc_parse/parse_spoolss.o \
-               rpc_parse/parse_eventlog.o rpc_parse/parse_buffer.o
+               rpc_parse/parse_buffer.o
 
 RPC_CLIENT_OBJ = rpc_client/cli_pipe.o rpc_client/rpc_transport_np.o \
        rpc_client/rpc_transport_sock.o rpc_client/rpc_transport_smbd.o
index ebd8923769109a4e216b709d69ab7e0aa5baa24d..a20a17c33d78b0f581854f18d220ce1a95c66e57 100644 (file)
@@ -623,7 +623,6 @@ struct smb_iconv_convenience *lp_iconv_convenience(void *lp_ctx);
 #include "reg_objects.h"
 #include "reg_db.h"
 #include "rpc_spoolss.h"
-#include "rpc_eventlog.h"
 #include "rpc_perfcount.h"
 #include "rpc_perfcount_defs.h"
 #include "librpc/gen_ndr/notify.h"
index 6987e9968b325fafe2a3ca95889299932605975e..88742c451d1356a8a11a1ae1a38b4d83394a4bdc 100644 (file)
@@ -5675,8 +5675,6 @@ bool smb_io_relarraystr(const char *desc, RPC_BUFFER *buffer, int depth, uint16
 bool smb_io_relsecdesc(const char *desc, RPC_BUFFER *buffer, int depth, SEC_DESC **secdesc);
 uint32 size_of_relative_string(UNISTR *string);
 
-/* The following definitions come from rpc_parse/parse_eventlog.c  */
-
 /* The following definitions come from rpc_parse/parse_misc.c  */
 
 bool smb_io_time(const char *desc, NTTIME *nttime, prs_struct *ps, int depth);
diff --git a/source3/include/rpc_eventlog.h b/source3/include/rpc_eventlog.h
deleted file mode 100644 (file)
index 43bbc18..0000000
+++ /dev/null
@@ -1,81 +0,0 @@
-/* 
- *  Unix SMB/CIFS implementation.
- *  RPC Pipe client / server routines
- *  Copyright (C) Marcin Krzysztof Porwit    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 3 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, see <http://www.gnu.org/licenses/>.
- */
-#ifndef _RPC_EVENTLOG_H                /* _RPC_EVENTLOG_H */
-#define _RPC_EVENTLOG_H
-
-/* opcodes */
-
-#define EVENTLOG_CLEAREVENTLOG         0x00
-#define EVENTLOG_CLOSEEVENTLOG         0x02
-#define EVENTLOG_GETNUMRECORDS         0x04
-#define EVENTLOG_GETOLDESTENTRY                0x05
-#define EVENTLOG_OPENEVENTLOG          0x07
-#define EVENTLOG_READEVENTLOG          0x0a
-
-/* Eventlog read flags */
-/* defined in librpc/gen_ndr/eventlog.h */
-
-/* Event types */
-/* defined in librpc/gen_ndr/eventlog.h */
-
-/***********************************/
-
-typedef struct {
-       uint32 length;
-       uint32 reserved1;
-       uint32 record_number;
-       uint32 time_generated;
-       uint32 time_written;
-       uint32 event_id;
-       uint16 event_type;
-       uint16 num_strings;
-       uint16 event_category;
-       uint16 reserved2;
-       uint32 closing_record_number;
-       uint32 string_offset;
-       uint32 user_sid_length;
-       uint32 user_sid_offset;
-       uint32 data_length;
-       uint32 data_offset;
-} Eventlog_record;
-
-typedef struct {
-       uint32 source_name_len;
-       smb_ucs2_t *source_name;
-       uint32 computer_name_len;
-       smb_ucs2_t *computer_name;
-       uint32 sid_padding;
-       smb_ucs2_t *sid;
-       uint32 strings_len;
-       smb_ucs2_t *strings;
-       uint32 user_data_len;
-       char *user_data;
-       uint32 data_padding;
-} Eventlog_data_record;
-
-typedef struct eventlog_entry {
-       Eventlog_record record;
-       Eventlog_data_record data_record;
-       uint8 *data;
-       uint8 *end_of_data_padding;
-       struct eventlog_entry *next;
-} Eventlog_entry;
-
-#endif /* _RPC_EVENTLOG_H */
diff --git a/source3/rpc_parse/parse_eventlog.c b/source3/rpc_parse/parse_eventlog.c
deleted file mode 100644 (file)
index 45bd4b5..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-/* 
- *  Unix SMB/CIFS implementation.
- *  RPC Pipe client / server routines
- *  Copyright (C) Marcin Krzysztof Porwit    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 3 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, see <http://www.gnu.org/licenses/>.
- */
-#include "includes.h"
-
-#undef DBGC_CLASS
-#define DBGC_CLASS DBGC_RPC_PARSE
-
-/********************************************************************
-********************************************************************/
-