Lines Matching defs:context
39 * Our context, where we keep our state.
74 struct plugin_context *context;
77 * Allocate our context
79 context = (struct plugin_context *) calloc (1, sizeof (struct plugin_context));
84 context->username = "foo";
85 context->password = "bar";
102 return (openvpn_plugin_handle_t) context;
158 struct plugin_context *context = (struct plugin_context *) handle;
169 if (username && !strcmp (username, context->username)
170 && password && !strcmp (password, context->password))
182 struct plugin_context *context = (struct plugin_context *) handle;
183 free (context);