Lines Matching defs:context
41 * Our context, where we keep our state.
76 struct plugin_context *context;
79 * Allocate our context
81 context = (struct plugin_context *) calloc (1, sizeof (struct plugin_context));
86 context->username = "foo";
87 context->password = "bar";
95 return (openvpn_plugin_handle_t) context;
101 struct plugin_context *context = (struct plugin_context *) handle;
108 if (username && !strcmp (username, context->username)
109 && password && !strcmp (password, context->password))
118 struct plugin_context *context = (struct plugin_context *) handle;
119 free (context);