Print this page
1575 untangle libmlrpc ... pre1:
Move srvsvc_timecheck where it belongs
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/lib/smbsrv/libmlsvc/common/mlsvc.h
+++ new/usr/src/lib/smbsrv/libmlsvc/common/mlsvc.h
1 1 /*
2 2 * CDDL HEADER START
3 3 *
4 4 * The contents of this file are subject to the terms of the
5 5 * Common Development and Distribution License (the "License").
6 6 * You may not use this file except in compliance with the License.
7 7 *
8 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 9 * or http://www.opensolaris.org/os/licensing.
10 10 * See the License for the specific language governing permissions
11 11 * and limitations under the License.
12 12 *
13 13 * When distributing Covered Code, include this CDDL HEADER in each
14 14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 15 * If applicable, add the following below this CDDL HEADER, with the
16 16 * fields enclosed by brackets "[]" replaced with your own identifying
17 17 * information: Portions Copyright [yyyy] [name of copyright owner]
18 18 *
19 19 * CDDL HEADER END
20 20 */
21 21 /*
22 22 * Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
23 23 * Copyright 2015 Nexenta Systems, Inc. All rights reserved.
24 24 */
25 25
26 26 #ifndef _SMBSRV_MLSVC_H
27 27 #define _SMBSRV_MLSVC_H
28 28
29 29 #include <smbsrv/smb_share.h>
30 30 #include <smbsrv/ndl/netlogon.ndl>
31 31
32 32 #ifdef __cplusplus
33 33 extern "C" {
34 34 #endif
35 35
36 36 struct netr_info;
37 37
38 38 int smb_dclocator_init(void);
↓ open down ↓ |
38 lines elided |
↑ open up ↑ |
39 39 void smbrdr_initialize(void);
40 40 void dssetup_initialize(void);
41 41 void srvsvc_initialize(void);
42 42 void wkssvc_initialize(void);
43 43 void lsarpc_initialize(void);
44 44 void logr_initialize(void);
45 45 void netr_initialize(void);
46 46 void samr_initialize(void);
47 47 void svcctl_initialize(void);
48 48 void winreg_initialize(void);
49 -int srvsvc_gettime(unsigned long *);
50 49 void msgsvcsend_initialize(void);
51 50 void spoolss_initialize(void);
52 51 void netdfs_initialize(void);
53 52
54 53 void logr_finalize(void);
55 54 void svcctl_finalize(void);
56 55 void spoolss_finalize(void);
57 56 void netdfs_finalize(void);
58 57
59 58 /* netr_auth.c */
60 59 DWORD netr_open(char *, char *, mlsvc_handle_t *);
61 60 int netr_close(mlsvc_handle_t *);
62 61 DWORD netlogon_auth(char *, mlsvc_handle_t *, DWORD);
63 62 int netr_setup_authenticator(struct netr_info *, struct netr_authenticator *,
64 63 struct netr_authenticator *);
65 64 DWORD netr_validate_chain(struct netr_info *, struct netr_authenticator *);
66 65
67 -void ndr_srvsvc_timecheck(char *, char *);
66 +int srvsvc_gettime(unsigned long *);
67 +void srvsvc_timecheck(char *, char *);
68 68
69 69 /* Generic functions to get/set windows Security Descriptors */
70 70 uint32_t srvsvc_sd_get(smb_share_t *, uint8_t *, uint32_t *);
71 71 uint32_t srvsvc_sd_set(smb_share_t *, uint8_t *);
72 72
73 73 uint32_t smb_logon_init(void);
74 74 void smb_logon_fini(void);
75 75
76 76 /* Locking for process-wide settings (i.e. privileges) */
77 77 void smb_proc_initsem(void); /* init (or re-init in child) */
78 78 int smb_proc_takesem(void); /* parent before */
79 79 void smb_proc_givesem(void); /* parent after */
80 80
81 81 /* Quota */
82 82 void smb_quota_init(void);
83 83 void smb_quota_fini(void);
84 84 void smb_quota_add_fs(const char *);
85 85 void smb_quota_remove_fs(const char *);
86 86
87 87 uint32_t smb_ddiscover_main(char *, smb_domainex_t *);
88 88
89 89 #ifdef __cplusplus
90 90 }
91 91 #endif
92 92 #endif /* _SMBSRV_MLSVC_H */
↓ open down ↓ |
15 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX