1 /*
2 * Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
3 * Copyright 2014 Nexenta Systems, Inc. All rights reserved.
4 */
5
6 /*
7 * BSD 3 Clause License
8 *
9 * Copyright (c) 2007, The Storage Networking Industry Association.
10 *
11 * Redistribution and use in source and binary forms, with or without
12 * modification, are permitted provided that the following conditions
13 * are met:
14 * - Redistributions of source code must retain the above copyright
15 * notice, this list of conditions and the following disclaimer.
16 *
17 * - Redistributions in binary form must reproduce the above copyright
18 * notice, this list of conditions and the following disclaimer in
19 * the documentation and/or other materials provided with the
20 * distribution.
21 *
22 * - Neither the name of The Storage Networking Industry Association (SNIA)
23 * nor the names of its contributors may be used to endorse or promote
99 * path restore, the result will be "/d1/r1/d1/d11/d111/f"
100 */
101 NDMP_FULL_RESTORE_PATH,
102 NDMP_DEBUG_PATH,
103 NDMP_PLUGIN_PATH,
104 NDMP_SOCKET_CSS,
105 NDMP_SOCKET_CRS,
106 NDMP_MOVER_RECSIZE,
107 NDMP_RESTORE_WILDCARD_ENABLE,
108 NDMP_CRAM_MD5_USERNAME,
109 NDMP_CRAM_MD5_PASSWORD,
110 NDMP_CLEARTEXT_USERNAME,
111 NDMP_CLEARTEXT_PASSWORD,
112 NDMP_TCP_PORT,
113 NDMP_BACKUP_QTN,
114 NDMP_RESTORE_QTN,
115 NDMP_OVERWRITE_QTN,
116 NDMP_ZFS_FORCE_OVERRIDE,
117 NDMP_DRIVE_TYPE,
118 NDMP_DEBUG_MODE,
119 NDMP_MAXALL
120 } ndmpd_cfg_id_t;
121
122 extern int ndmpd_load_prop(void);
123 extern char *ndmpd_get_prop(ndmpd_cfg_id_t);
124 extern char *ndmpd_get_prop_default(ndmpd_cfg_id_t, char *);
125 extern int ndmpd_get_prop_yorn(ndmpd_cfg_id_t);
126
127 #ifdef __cplusplus
128 }
129 #endif
130
131 #endif /* _NDMPD_PROP_H */
|
1 /*
2 * Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
3 * Copyright 2017 Nexenta Systems, Inc. All rights reserved.
4 */
5
6 /*
7 * BSD 3 Clause License
8 *
9 * Copyright (c) 2007, The Storage Networking Industry Association.
10 *
11 * Redistribution and use in source and binary forms, with or without
12 * modification, are permitted provided that the following conditions
13 * are met:
14 * - Redistributions of source code must retain the above copyright
15 * notice, this list of conditions and the following disclaimer.
16 *
17 * - Redistributions in binary form must reproduce the above copyright
18 * notice, this list of conditions and the following disclaimer in
19 * the documentation and/or other materials provided with the
20 * distribution.
21 *
22 * - Neither the name of The Storage Networking Industry Association (SNIA)
23 * nor the names of its contributors may be used to endorse or promote
99 * path restore, the result will be "/d1/r1/d1/d11/d111/f"
100 */
101 NDMP_FULL_RESTORE_PATH,
102 NDMP_DEBUG_PATH,
103 NDMP_PLUGIN_PATH,
104 NDMP_SOCKET_CSS,
105 NDMP_SOCKET_CRS,
106 NDMP_MOVER_RECSIZE,
107 NDMP_RESTORE_WILDCARD_ENABLE,
108 NDMP_CRAM_MD5_USERNAME,
109 NDMP_CRAM_MD5_PASSWORD,
110 NDMP_CLEARTEXT_USERNAME,
111 NDMP_CLEARTEXT_PASSWORD,
112 NDMP_TCP_PORT,
113 NDMP_BACKUP_QTN,
114 NDMP_RESTORE_QTN,
115 NDMP_OVERWRITE_QTN,
116 NDMP_ZFS_FORCE_OVERRIDE,
117 NDMP_DRIVE_TYPE,
118 NDMP_DEBUG_MODE,
119 NDMP_VENDOR_NAME,
120 NDMP_PRODUCT_NAME,
121 NDMP_AUTOSYNC_SUPPORT,
122 NDMP_HPR_SUPPORT,
123 NDMP_MAXALL
124 } ndmpd_cfg_id_t;
125
126 extern int ndmpd_load_prop(void);
127 extern char *ndmpd_get_prop(ndmpd_cfg_id_t);
128 extern char *ndmpd_get_prop_default(ndmpd_cfg_id_t, char *);
129 extern int ndmpd_get_prop_yorn(ndmpd_cfg_id_t);
130
131 #ifdef __cplusplus
132 }
133 #endif
134
135 #endif /* _NDMPD_PROP_H */
|