s3:registry: update the seqnum in the subkey cache at the end of regval_store_keys
[Samba.git] / source4 / rpc_server / eventlog / dcesrv_eventlog6.c
blob9a6499866523973fcd8c4677f63442eb7400276e
1 /*
2 Unix SMB/CIFS implementation.
4 endpoint server for the eventlog6 pipe
6 Copyright (C) Anatoliy Atanasov 2010
8 This program is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 3 of the License, or
11 (at your option) any later version.
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with this program. If not, see <http://www.gnu.org/licenses/>.
22 #include "includes.h"
23 #include "rpc_server/dcerpc_server.h"
24 #include "librpc/gen_ndr/ndr_eventlog6.h"
25 #include "rpc_server/common/common.h"
29 eventlog6_EvtRpcRegisterRemoteSubscription
31 static WERROR dcesrv_eventlog6_EvtRpcRegisterRemoteSubscription(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx,
32 struct eventlog6_EvtRpcRegisterRemoteSubscription *r)
34 DCESRV_FAULT(DCERPC_FAULT_OP_RNG_ERROR);
39 eventlog6_EvtRpcRemoteSubscriptionNextAsync
41 static WERROR dcesrv_eventlog6_EvtRpcRemoteSubscriptionNextAsync(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx,
42 struct eventlog6_EvtRpcRemoteSubscriptionNextAsync *r)
44 DCESRV_FAULT(DCERPC_FAULT_OP_RNG_ERROR);
49 eventlog6_EvtRpcRemoteSubscriptionNext
51 static WERROR dcesrv_eventlog6_EvtRpcRemoteSubscriptionNext(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx,
52 struct eventlog6_EvtRpcRemoteSubscriptionNext *r)
54 DCESRV_FAULT(DCERPC_FAULT_OP_RNG_ERROR);
59 eventlog6_EvtRpcRemoteSubscriptionWaitAsync
61 static WERROR dcesrv_eventlog6_EvtRpcRemoteSubscriptionWaitAsync(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx,
62 struct eventlog6_EvtRpcRemoteSubscriptionWaitAsync *r)
64 DCESRV_FAULT(DCERPC_FAULT_OP_RNG_ERROR);
69 eventlog6_EvtRpcRegisterControllableOperation
71 static WERROR dcesrv_eventlog6_EvtRpcRegisterControllableOperation(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx,
72 struct eventlog6_EvtRpcRegisterControllableOperation *r)
74 DCESRV_FAULT(DCERPC_FAULT_OP_RNG_ERROR);
79 eventlog6_EvtRpcRegisterLogQuery
81 static WERROR dcesrv_eventlog6_EvtRpcRegisterLogQuery(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx,
82 struct eventlog6_EvtRpcRegisterLogQuery *r)
84 struct dcesrv_handle *handle;
86 handle = dcesrv_handle_new(dce_call->context, 0);
87 W_ERROR_HAVE_NO_MEMORY(handle);
89 r->out.handle = &handle->wire_handle;
91 handle = dcesrv_handle_new(dce_call->context, 0);
92 W_ERROR_HAVE_NO_MEMORY(handle);
94 r->out.opControl = &handle->wire_handle;
96 return WERR_OK;
101 eventlog6_EvtRpcClearLog
103 static WERROR dcesrv_eventlog6_EvtRpcClearLog(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx,
104 struct eventlog6_EvtRpcClearLog *r)
106 DCESRV_FAULT(DCERPC_FAULT_OP_RNG_ERROR);
111 eventlog6_EvtRpcExportLog
113 static WERROR dcesrv_eventlog6_EvtRpcExportLog(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx,
114 struct eventlog6_EvtRpcExportLog *r)
116 DCESRV_FAULT(DCERPC_FAULT_OP_RNG_ERROR);
121 eventlog6_EvtRpcLocalizeExportLog
123 static WERROR dcesrv_eventlog6_EvtRpcLocalizeExportLog(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx,
124 struct eventlog6_EvtRpcLocalizeExportLog *r)
126 DCESRV_FAULT(DCERPC_FAULT_OP_RNG_ERROR);
131 eventlog6_EvtRpcMessageRender
133 static WERROR dcesrv_eventlog6_EvtRpcMessageRender(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx,
134 struct eventlog6_EvtRpcMessageRender *r)
136 DCESRV_FAULT(DCERPC_FAULT_OP_RNG_ERROR);
141 eventlog6_EvtRpcMessageRenderDefault
143 static WERROR dcesrv_eventlog6_EvtRpcMessageRenderDefault(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx,
144 struct eventlog6_EvtRpcMessageRenderDefault *r)
146 DCESRV_FAULT(DCERPC_FAULT_OP_RNG_ERROR);
151 eventlog6_EvtRpcQueryNext
153 static WERROR dcesrv_eventlog6_EvtRpcQueryNext(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx,
154 struct eventlog6_EvtRpcQueryNext *r)
156 return WERR_OK;
161 eventlog6_EvtRpcQuerySeek
163 static WERROR dcesrv_eventlog6_EvtRpcQuerySeek(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx,
164 struct eventlog6_EvtRpcQuerySeek *r)
166 DCESRV_FAULT(DCERPC_FAULT_OP_RNG_ERROR);
171 eventlog6_EvtRpcClose
173 static WERROR dcesrv_eventlog6_EvtRpcClose(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx,
174 struct eventlog6_EvtRpcClose *r)
176 DCESRV_FAULT(DCERPC_FAULT_OP_RNG_ERROR);
181 eventlog6_EvtRpcCancel
183 static WERROR dcesrv_eventlog6_EvtRpcCancel(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx,
184 struct eventlog6_EvtRpcCancel *r)
186 DCESRV_FAULT(DCERPC_FAULT_OP_RNG_ERROR);
191 eventlog6_EvtRpcAssertConfig
193 static WERROR dcesrv_eventlog6_EvtRpcAssertConfig(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx,
194 struct eventlog6_EvtRpcAssertConfig *r)
196 DCESRV_FAULT(DCERPC_FAULT_OP_RNG_ERROR);
201 eventlog6_EvtRpcRetractConfig
203 static WERROR dcesrv_eventlog6_EvtRpcRetractConfig(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx,
204 struct eventlog6_EvtRpcRetractConfig *r)
206 DCESRV_FAULT(DCERPC_FAULT_OP_RNG_ERROR);
211 eventlog6_EvtRpcOpenLogHandle
213 static WERROR dcesrv_eventlog6_EvtRpcOpenLogHandle(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx,
214 struct eventlog6_EvtRpcOpenLogHandle *r)
216 DCESRV_FAULT(DCERPC_FAULT_OP_RNG_ERROR);
221 eventlog6_EvtRpcGetLogFileInfo
223 static WERROR dcesrv_eventlog6_EvtRpcGetLogFileInfo(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx,
224 struct eventlog6_EvtRpcGetLogFileInfo *r)
226 DCESRV_FAULT(DCERPC_FAULT_OP_RNG_ERROR);
231 eventlog6_EvtRpcGetChannelList
233 static WERROR dcesrv_eventlog6_EvtRpcGetChannelList(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx,
234 struct eventlog6_EvtRpcGetChannelList *r)
236 DCESRV_FAULT(DCERPC_FAULT_OP_RNG_ERROR);
241 eventlog6_EvtRpcGetChannelConfig
243 static WERROR dcesrv_eventlog6_EvtRpcGetChannelConfig(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx,
244 struct eventlog6_EvtRpcGetChannelConfig *r)
246 DCESRV_FAULT(DCERPC_FAULT_OP_RNG_ERROR);
251 eventlog6_EvtRpcPutChannelConfig
253 static WERROR dcesrv_eventlog6_EvtRpcPutChannelConfig(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx,
254 struct eventlog6_EvtRpcPutChannelConfig *r)
256 DCESRV_FAULT(DCERPC_FAULT_OP_RNG_ERROR);
261 eventlog6_EvtRpcGetPublisherList
263 static WERROR dcesrv_eventlog6_EvtRpcGetPublisherList(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx,
264 struct eventlog6_EvtRpcGetPublisherList *r)
266 DCESRV_FAULT(DCERPC_FAULT_OP_RNG_ERROR);
271 eventlog6_EvtRpcGetPublisherListForChannel
273 static WERROR dcesrv_eventlog6_EvtRpcGetPublisherListForChannel(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx,
274 struct eventlog6_EvtRpcGetPublisherListForChannel *r)
276 DCESRV_FAULT(DCERPC_FAULT_OP_RNG_ERROR);
281 eventlog6_EvtRpcGetPublisherMetadata
283 static WERROR dcesrv_eventlog6_EvtRpcGetPublisherMetadata(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx,
284 struct eventlog6_EvtRpcGetPublisherMetadata *r)
286 DCESRV_FAULT(DCERPC_FAULT_OP_RNG_ERROR);
291 eventlog6_EvtRpcGetPublisherResourceMetadata
293 static WERROR dcesrv_eventlog6_EvtRpcGetPublisherResourceMetadata(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx,
294 struct eventlog6_EvtRpcGetPublisherResourceMetadata *r)
296 DCESRV_FAULT(DCERPC_FAULT_OP_RNG_ERROR);
301 eventlog6_EvtRpcGetEventMetadataEnum
303 static WERROR dcesrv_eventlog6_EvtRpcGetEventMetadataEnum(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx,
304 struct eventlog6_EvtRpcGetEventMetadataEnum *r)
306 DCESRV_FAULT(DCERPC_FAULT_OP_RNG_ERROR);
311 eventlog6_EvtRpcGetNextEventMetadata
313 static WERROR dcesrv_eventlog6_EvtRpcGetNextEventMetadata(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx,
314 struct eventlog6_EvtRpcGetNextEventMetadata *r)
316 DCESRV_FAULT(DCERPC_FAULT_OP_RNG_ERROR);
321 eventlog6_EvtRpcGetClassicLogDisplayName
323 static WERROR dcesrv_eventlog6_EvtRpcGetClassicLogDisplayName(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx,
324 struct eventlog6_EvtRpcGetClassicLogDisplayName *r)
326 DCESRV_FAULT(DCERPC_FAULT_OP_RNG_ERROR);
330 /* include the generated boilerplate */
331 #include "librpc/gen_ndr/ndr_eventlog6_s.c"