Lines Matching defs:context
44 * Our context, where we keep our state.
81 struct plugin_context *context = NULL;
102 /* Allocate our context */
103 context = (struct plugin_context *) calloc (1, sizeof (struct plugin_context));
106 context->username = "foo";
107 context->password = "bar";
109 /* Point the global context handle to our newly created context */
110 ret->handle = (void *) context;
212 struct plugin_context *context = (struct plugin_context *) args->handle;
232 if (username && !strcmp (username, context->username)
233 && password && !strcmp (password, context->password))
245 struct plugin_context *context = (struct plugin_context *) handle;
246 free (context);