4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 * or http://www.opensolaris.org/os/licensing.
10 * See the License for the specific language governing permissions
11 * and limitations under the License.
12 *
13 * When distributing Covered Code, include this CDDL HEADER in each
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 * If applicable, add the following below this CDDL HEADER, with the
16 * fields enclosed by brackets "[]" replaced with your own identifying
17 * information: Portions Copyright [yyyy] [name of copyright owner]
18 *
19 * CDDL HEADER END
20 */
21 /*
22 * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
23 * Use is subject to license terms.
24 */
25
26 #ifndef _MLSVC_LOGR_NDL_
27 #define _MLSVC_LOGR_NDL_
28
29 /*
30 ***********************************************************************
31 *
32 * Event log RPC (EVENTLOG) interface definition.
33 *
34 ***********************************************************************
35 */
36
37 #include "ndrtypes.ndl"
38
39 #define LOGR_OPNUM_EventLogClose 0x02
40 #define LOGR_OPNUM_EventLogQueryCount 0x04
41 #define LOGR_OPNUM_EventLogGetOldestRec 0x05
42 #define LOGR_OPNUM_EventLogOpen 0x07
43 #define LOGR_OPNUM_EventLogRead 0x0A
44
45 #define LOGR_MAXENTRYLEN 800
46
47
48 CONTEXT_HANDLE(logr_handle) logr_handle_t;
49
50 struct logr_string {
51 WORD length;
52 WORD allosize;
53 LPTSTR str;
54 };
55 typedef struct logr_string logr_string_t;
56
57 struct logr_record {
|
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 * or http://www.opensolaris.org/os/licensing.
10 * See the License for the specific language governing permissions
11 * and limitations under the License.
12 *
13 * When distributing Covered Code, include this CDDL HEADER in each
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 * If applicable, add the following below this CDDL HEADER, with the
16 * fields enclosed by brackets "[]" replaced with your own identifying
17 * information: Portions Copyright [yyyy] [name of copyright owner]
18 *
19 * CDDL HEADER END
20 */
21 /*
22 * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
23 * Use is subject to license terms.
24 *
25 * Copyright 2013 Nexenta Systems, Inc. All rights reserved.
26 */
27
28 #ifndef _MLSVC_LOGR_NDL_
29 #define _MLSVC_LOGR_NDL_
30
31 /*
32 ***********************************************************************
33 *
34 * Event log RPC (EVENTLOG) interface definition.
35 *
36 ***********************************************************************
37 */
38
39 #include <libmlrpc/ndrtypes.ndl>
40
41 #define LOGR_OPNUM_EventLogClose 0x02
42 #define LOGR_OPNUM_EventLogQueryCount 0x04
43 #define LOGR_OPNUM_EventLogGetOldestRec 0x05
44 #define LOGR_OPNUM_EventLogOpen 0x07
45 #define LOGR_OPNUM_EventLogRead 0x0A
46
47 #define LOGR_MAXENTRYLEN 800
48
49
50 CONTEXT_HANDLE(logr_handle) logr_handle_t;
51
52 struct logr_string {
53 WORD length;
54 WORD allosize;
55 LPTSTR str;
56 };
57 typedef struct logr_string logr_string_t;
58
59 struct logr_record {
|