Lines Matching defs:mech
5 #include "mech.h"
59 request->mech->auth_continue(request, data, data_size);
92 const struct mech_module *mech)
97 list->module = *mech;
99 str_printfa(reg->handshake, "MECH\t%s", mech->mech_name);
100 if ((mech->flags & MECH_SEC_PRIVATE) != 0)
102 if ((mech->flags & MECH_SEC_ANONYMOUS) != 0)
104 if ((mech->flags & MECH_SEC_PLAINTEXT) != 0)
106 if ((mech->flags & MECH_SEC_DICTIONARY) != 0)
108 if ((mech->flags & MECH_SEC_ACTIVE) != 0)
110 if ((mech->flags & MECH_SEC_FORWARD_SECRECY) != 0)
112 if ((mech->flags & MECH_SEC_MUTUAL_AUTH) != 0)
138 const struct mech_module *mech;
158 mech = mech_module_find(name);
159 if (mech == NULL) {
162 mech = mech_module_find(name);
164 if (mech == NULL)
166 mech_register_add(reg, mech);