Displaying 1 result from an estimated 1 matches for "ufctx".
2010 Apr 09
4
Patch: support URLAUTH, BURL, CATENATE
...t;);
+ else
+ client_send_command_error(cmd, "Invalid arguments.");
+
+ return TRUE;
+}
+
+// initialize context for traversing the urlauth maze
+static struct urlfetch_context *
+urlfetch_init(struct client_command_context *cmd, const struct imap_arg *args)
+{
+ struct urlfetch_context *ufctx;
+
+ pool_ref(cmd->pool);
+ ufctx = p_new(cmd->pool, struct urlfetch_context, 1);
+ ufctx->pool = cmd->pool;
+ ufctx->cmd = cmd;
+ ufctx->urlfetch_args = args;
+
+ ufctx->response = str_new(ufctx->pool, 256);
+ str_append(ufctx->response, "* URLFETCH");
+
+ // r...