equal
deleted
inserted
replaced
17 * information: Portions Copyright [yyyy] [name of copyright owner] |
17 * information: Portions Copyright [yyyy] [name of copyright owner] |
18 * |
18 * |
19 * CDDL HEADER END |
19 * CDDL HEADER END |
20 */ |
20 */ |
21 /* |
21 /* |
22 * Copyright 2007 Sun Microsystems, Inc. All rights reserved. |
22 * Copyright 2008 Sun Microsystems, Inc. All rights reserved. |
23 * Use is subject to license terms. |
23 * Use is subject to license terms. |
24 */ |
24 */ |
25 |
25 |
26 #ifndef _SMBSRV_IPC_UTIL_H |
26 #ifndef _SMBSRV_IPC_UTIL_H |
27 #define _SMBSRV_IPC_UTIL_H |
27 #define _SMBSRV_IPC_UTIL_H |
28 |
28 |
29 #pragma ident "%Z%%M% %I% %E% SMI" |
|
30 |
|
31 /* |
29 /* |
32 * This file defines the data structure for the IPC connection and utility |
30 * This file defines the data structure for the IPC connection and utility |
33 * function prototypes. |
31 * function prototypes. |
34 */ |
32 */ |
35 |
33 |
36 #include <smbsrv/mlsvc.h> |
34 #include <smbsrv/libsmb.h> |
37 |
35 |
38 #ifdef __cplusplus |
36 #ifdef __cplusplus |
39 extern "C" { |
37 extern "C" { |
40 #endif |
38 #endif |
41 |
39 |
44 * |
42 * |
45 * This structure contains credentials for establishing authenticated |
43 * This structure contains credentials for establishing authenticated |
46 * IPC connection. |
44 * IPC connection. |
47 */ |
45 */ |
48 typedef struct { |
46 typedef struct { |
49 char user[MLSVC_ACCOUNT_NAME_MAX]; |
47 char user[SMB_USERNAME_MAXLEN]; |
50 unsigned char passwd[SMBAUTH_HASH_SZ]; |
48 unsigned char passwd[SMBAUTH_HASH_SZ]; |
51 } smbrdr_ipc_t; |
49 } smbrdr_ipc_t; |
52 |
50 |
53 |
51 |
54 void smbrdr_ipc_init(void); |
52 void smbrdr_ipc_init(void); |