dmake: do not set MAKEFLAGS=k
[unleashed/tickless.git] / usr / src / cmd / mdb / common / modules / crypto / crypto_cmds.h
blob0d8d294ff526e2654bc9cc258b6b8a92d6f0cb5f
1 /*
2 * CDDL HEADER START
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.
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.
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]
19 * CDDL HEADER END
22 * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
23 * Use is subject to license terms.
26 #ifndef _CRYPTO_CMDS_H
27 #define _CRYPTO_CMDS_H
29 #ifdef __cplusplus
30 extern "C" {
31 #endif
33 extern int crypto_provider_ext_info(uintptr_t addr, uint_t flags, int argc, \
34 const mdb_arg_t *argv);
35 extern int crypto_mech_info(uintptr_t addr, uint_t flags, int argc, \
36 const mdb_arg_t *argv);
38 extern int crypto_mechanism(uintptr_t addr, uint_t flags, int argc, \
39 const mdb_arg_t *argv);
40 extern int crypto_data(uintptr_t addr, uint_t flags, int argc, \
41 const mdb_arg_t *argv);
42 extern int crypto_dual_data(uintptr_t addr, uint_t flags, int argc, \
43 const mdb_arg_t *argv);
44 extern int crypto_key(uintptr_t addr, uint_t flags, int argc, \
45 const mdb_arg_t *argv);
47 extern int kcf_provider_desc(uintptr_t addr, uint_t flags, int argc, \
48 const mdb_arg_t *argv);
50 extern int prov_tab(uintptr_t addr, uint_t flags, int argc, \
51 const mdb_arg_t *argv);
53 extern int policy_tab(uintptr_t addr, uint_t flags, int argc, \
54 const mdb_arg_t *argv);
56 extern int kcf_areq_node(uintptr_t addr, uint_t flags, int argc, \
57 const mdb_arg_t *argv);
59 extern int kcf_global_swq(uintptr_t addr, uint_t flags, int argc, \
60 const mdb_arg_t *argv);
62 extern int kcf_reqid_table_dcmd(uintptr_t addr, uint_t flags, int argc, \
63 const mdb_arg_t *argv);
65 extern int crypto_find_reqid(uintptr_t addr, uint_t flags, int argc, \
66 const mdb_arg_t *argv);
68 extern int areq_first_walk_init(mdb_walk_state_t *);
69 extern int an_idnext_walk_init(mdb_walk_state_t *);
70 extern int an_idprev_walk_init(mdb_walk_state_t *);
71 extern int an_ctxchain_walk_init(mdb_walk_state_t *);
72 extern int areq_last_walk_init(mdb_walk_state_t *);
73 extern int an_next_walk_step(mdb_walk_state_t *);
74 extern int an_idnext_walk_step(mdb_walk_state_t *);
75 extern int an_idprev_walk_step(mdb_walk_state_t *);
76 extern int an_ctxchain_walk_step(mdb_walk_state_t *);
77 extern void areq_walk_fini(mdb_walk_state_t *);
78 extern int an_prev_walk_step(mdb_walk_state_t *);
79 extern int reqid_table_walk_init(mdb_walk_state_t *);
80 extern int reqid_table_walk_step(mdb_walk_state_t *);
81 extern void reqid_table_walk_fini(mdb_walk_state_t *);
83 extern int soft_conf_walk_init(mdb_walk_state_t *);
84 extern int soft_conf_walk_step(mdb_walk_state_t *);
85 extern void soft_conf_walk_fini(mdb_walk_state_t *);
87 extern int kcf_soft_conf_entry(uintptr_t addr, uint_t flags, int argc,
88 const mdb_arg_t *argv);
90 extern int kcf_policy_desc(uintptr_t addr, uint_t flags, int argc,
91 const mdb_arg_t *argv);
94 #ifdef __cplusplus
96 #endif
98 #endif /* _CRYPTO_CMDS_H */