Current Path : /sys/amd64/compile/hs32/modules/usr/src/sys/modules/s3/@/amd64/compile/hs32/modules/usr/src/sys/modules/kgssapi_krb5/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //sys/amd64/compile/hs32/modules/usr/src/sys/modules/s3/@/amd64/compile/hs32/modules/usr/src/sys/modules/kgssapi_krb5/kgss_if.h |
/* * This file is produced automatically. * Do not modify anything in here by hand. * * Created from source file * @/kgssapi/kgss_if.m * with * makeobjops.awk * * See the source file for legal information */ #ifndef _kgss_if_h_ #define _kgss_if_h_ /** @brief Unique descriptor for the KGSS_INIT() method */ extern struct kobjop_desc kgss_init_desc; /** @brief A function implementing the KGSS_INIT() method */ typedef void kgss_init_t(gss_ctx_id_t ctx); static __inline void KGSS_INIT(gss_ctx_id_t ctx) { kobjop_t _m; KOBJOPLOOKUP(((kobj_t)ctx)->ops,kgss_init); ((kgss_init_t *) _m)(ctx); } /** @brief Unique descriptor for the KGSS_IMPORT() method */ extern struct kobjop_desc kgss_import_desc; /** @brief A function implementing the KGSS_IMPORT() method */ typedef OM_uint32 kgss_import_t(gss_ctx_id_t ctx, enum sec_context_format format, const gss_buffer_t context_token); static __inline OM_uint32 KGSS_IMPORT(gss_ctx_id_t ctx, enum sec_context_format format, const gss_buffer_t context_token) { kobjop_t _m; KOBJOPLOOKUP(((kobj_t)ctx)->ops,kgss_import); return ((kgss_import_t *) _m)(ctx, format, context_token); } /** @brief Unique descriptor for the KGSS_DELETE() method */ extern struct kobjop_desc kgss_delete_desc; /** @brief A function implementing the KGSS_DELETE() method */ typedef void kgss_delete_t(gss_ctx_id_t ctx, gss_buffer_t output_token); static __inline void KGSS_DELETE(gss_ctx_id_t ctx, gss_buffer_t output_token) { kobjop_t _m; KOBJOPLOOKUP(((kobj_t)ctx)->ops,kgss_delete); ((kgss_delete_t *) _m)(ctx, output_token); } /** @brief Unique descriptor for the KGSS_MECH_TYPE() method */ extern struct kobjop_desc kgss_mech_type_desc; /** @brief A function implementing the KGSS_MECH_TYPE() method */ typedef gss_OID kgss_mech_type_t(gss_ctx_id_t ctx); static __inline gss_OID KGSS_MECH_TYPE(gss_ctx_id_t ctx) { kobjop_t _m; KOBJOPLOOKUP(((kobj_t)ctx)->ops,kgss_mech_type); return ((kgss_mech_type_t *) _m)(ctx); } /** @brief Unique descriptor for the KGSS_GET_MIC() method */ extern struct kobjop_desc kgss_get_mic_desc; /** @brief A function implementing the KGSS_GET_MIC() method */ typedef OM_uint32 kgss_get_mic_t(gss_ctx_id_t ctx, OM_uint32 *minor_status, gss_qop_t qop_req, struct mbuf *message_buffer, struct mbuf **message_token); static __inline OM_uint32 KGSS_GET_MIC(gss_ctx_id_t ctx, OM_uint32 *minor_status, gss_qop_t qop_req, struct mbuf *message_buffer, struct mbuf **message_token) { kobjop_t _m; KOBJOPLOOKUP(((kobj_t)ctx)->ops,kgss_get_mic); return ((kgss_get_mic_t *) _m)(ctx, minor_status, qop_req, message_buffer, message_token); } /** @brief Unique descriptor for the KGSS_VERIFY_MIC() method */ extern struct kobjop_desc kgss_verify_mic_desc; /** @brief A function implementing the KGSS_VERIFY_MIC() method */ typedef OM_uint32 kgss_verify_mic_t(gss_ctx_id_t ctx, OM_uint32 *minor_status, struct mbuf *message_buffer, struct mbuf *token_buffer, gss_qop_t *qop_state); static __inline OM_uint32 KGSS_VERIFY_MIC(gss_ctx_id_t ctx, OM_uint32 *minor_status, struct mbuf *message_buffer, struct mbuf *token_buffer, gss_qop_t *qop_state) { kobjop_t _m; KOBJOPLOOKUP(((kobj_t)ctx)->ops,kgss_verify_mic); return ((kgss_verify_mic_t *) _m)(ctx, minor_status, message_buffer, token_buffer, qop_state); } /** @brief Unique descriptor for the KGSS_WRAP() method */ extern struct kobjop_desc kgss_wrap_desc; /** @brief A function implementing the KGSS_WRAP() method */ typedef OM_uint32 kgss_wrap_t(gss_ctx_id_t ctx, OM_uint32 *minor_status, int conf_req_flag, gss_qop_t qop_req, struct mbuf **message_buffer, int *conf_state); static __inline OM_uint32 KGSS_WRAP(gss_ctx_id_t ctx, OM_uint32 *minor_status, int conf_req_flag, gss_qop_t qop_req, struct mbuf **message_buffer, int *conf_state) { kobjop_t _m; KOBJOPLOOKUP(((kobj_t)ctx)->ops,kgss_wrap); return ((kgss_wrap_t *) _m)(ctx, minor_status, conf_req_flag, qop_req, message_buffer, conf_state); } /** @brief Unique descriptor for the KGSS_UNWRAP() method */ extern struct kobjop_desc kgss_unwrap_desc; /** @brief A function implementing the KGSS_UNWRAP() method */ typedef OM_uint32 kgss_unwrap_t(gss_ctx_id_t ctx, OM_uint32 *minor_status, struct mbuf **message_buffer, int *conf_state, gss_qop_t *qop_state); static __inline OM_uint32 KGSS_UNWRAP(gss_ctx_id_t ctx, OM_uint32 *minor_status, struct mbuf **message_buffer, int *conf_state, gss_qop_t *qop_state) { kobjop_t _m; KOBJOPLOOKUP(((kobj_t)ctx)->ops,kgss_unwrap); return ((kgss_unwrap_t *) _m)(ctx, minor_status, message_buffer, conf_state, qop_state); } /** @brief Unique descriptor for the KGSS_WRAP_SIZE_LIMIT() method */ extern struct kobjop_desc kgss_wrap_size_limit_desc; /** @brief A function implementing the KGSS_WRAP_SIZE_LIMIT() method */ typedef OM_uint32 kgss_wrap_size_limit_t(gss_ctx_id_t ctx, OM_uint32 *minor_status, int conf_req_flag, gss_qop_t qop_req, OM_uint32 req_ouput_size, OM_uint32 *max_input_size); static __inline OM_uint32 KGSS_WRAP_SIZE_LIMIT(gss_ctx_id_t ctx, OM_uint32 *minor_status, int conf_req_flag, gss_qop_t qop_req, OM_uint32 req_ouput_size, OM_uint32 *max_input_size) { kobjop_t _m; KOBJOPLOOKUP(((kobj_t)ctx)->ops,kgss_wrap_size_limit); return ((kgss_wrap_size_limit_t *) _m)(ctx, minor_status, conf_req_flag, qop_req, req_ouput_size, max_input_size); } #endif /* _kgss_if_h_ */