Displaying 1 result from an estimated 1 matches for "out_key".
2010 Apr 09
4
Patch: support URLAUTH, BURL, CATENATE
...(os, "\n", 1);
+ }
+ hash_table_iterate_deinit(&iter);
+ o_stream_destroy(&os);
+
+ return TRUE;
+}
+
+// read/modify/write the access keys
+static bool urlauth_keys_update(struct mail_storage *storage,
+ enum urlauth_keys_action action,
+ const char *mailbox,
+ buffer_t *out_key)
+{
+ const char *path;
+ int flags, fd;
+ pool_t pool;
+ struct hash_table *keys;
+ unsigned char new_key[URLAUTH_KEY_BYTES];
+ const char *hex = NULL;
+ bool modified = FALSE;
+
+ if (strcmp(storage->name, "maildir") != 0) {
+ i_error("Unsupported URLAUTH backend: %s", sto...